1CC=gcc -g -m32 2INCLUDES=-I. -I../include -I../include/x86 3TARGETS=cbfs-x86-test 4 5cbfs-x86-test: cbfs-x86-test.c ../arch/x86/rom_media.c ../libcbfs/ram_media.c ../libcbfs/cbfs.c 6 $(CC) -o $@ $^ $(INCLUDES) 7 8 9all: $(TARGETS) 10 11run: all 12 for i in $(TARGETS); do ./$$i; done 13