blob: 9a2a6b3e3c60c93ae9cf2a0d8b26c97ee50f626b (
plain) (
tree)
|
|
CC=gcc
CFLAGS=-I../../src/lib/include -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
|