aboutsummaryrefslogtreecommitdiff
path: root/res/fonts/Makefile
blob: 9a2a6b3e3c60c93ae9cf2a0d8b26c97ee50f626b (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 -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