1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
CC=gcc CFLAGS=-I../../src/lib/include/proto -std=c11 AS=nasm ASFLAGS=-fbin all: pcvga.bf muazzam.bf %.bf: %.c $(CC) $(CFLAGS) -o $<.bin $< ./$<.bin > $@ rm $<.bin %.bf: %.s $(AS) $(ASFLAGS) -o $@ $< clean: rm *.bf || exit 0 rebuild: clean all