aboutsummaryrefslogtreecommitdiff
path: root/res/fonts/Makefile
blob: 758bbcf12dbce83f7f29906f0e8c259b613be8dd (plain) (blame)
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