blob: c5c2cd700590c30071e5d3d893ae315cb83f501f (
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
39
40
41
42
43
44
|
BIN=idsk 2cdt apultra png2crtc hex2bin rasm
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
rasm:
make -C rasm_src
make -C rasm_src clean
2cdt:
make -C 2CDT
cp 2CDT/2cdt .
png2crtc:
make -C gfx2crtc
cp gfx2crtc/png2crtc .
%.o: %.c
$(CC) $(CFLAGS) $< -o $@ -c
apultra:
make -C apultra_src
cp apultra_src/apultra .
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 cleanall
make -C apultra_src clean
rm -f $(BIN) *.o
|