blob: fa5961410284541ccd0780d0660c8032c091914d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
BIN=idsk 2cdt ucl png2crtc hex2bin
all: $(BIN)
CC=gcc
CFLAGS=-s -O3 -Wall
idsk:
mkdir iDSK/build
cd iDSK/build && cmake ../
make -C iDSK/build
cp iDSK/build/iDSK idsk
rm -rf iDSK/build
2cdt:
make -C 2CDT
cp 2CDT/2cdt .
png2crtc:
make -C gfx2crtc
cp gfx2crtc/png2crtc .
%.o: %.c
$(CC) $(CFLAGS) $< -o $@ -c
ucl: ucl.o
$(CC) -lucl $< -o $@
hex2bin:
make -C hex2bin-2.0
cp hex2bin-2.0/bin/hex2bin .
.PHONY: clean
clean:
make -C 2CDT clean
make -C gfx2crtc clean
make -C hex2bin-2.0 clean
rm -f $(BIN) *.o
|