blob: 758bbcf12dbce83f7f29906f0e8c259b613be8dd (
plain) (
tree)
|
|
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
|