-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
63 lines (50 loc) · 1.39 KB
/
Makefile
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
### Build tools
ifeq (,$(shell which sha1sum))
SHA1 := shasum
else
SHA1 := sha1sum
endif
RGBDS ?=
RGBASM ?= $(RGBDS)rgbasm
RGBFIX ?= $(RGBDS)rgbfix
RGBGFX ?= $(RGBDS)rgbgfx
RGBLINK ?= $(RGBDS)rgblink
### Build targets
.SUFFIXES:
.PHONY: all clean first_issue first_issue_en first_issue_de first_issue_fr first_issue_es first_issue_it
.SECONDEXPANSION:
.PRECIOUS:
.SECONDARY:
all: first_issue first_issue_en first_issue_de first_issue_fr first_issue_es first_issue_it
news: first_issue
news_en: first_issue_en
news_de: first_issue_de
news_fr: first_issue_fr
news_es: first_issue_es
news_it: first_issue_it
clean:
rm -f news/*.o *.bin
first_issue:
$(RGBASM) -o news/[email protected] "news/[email protected]"
$(RGBLINK) -x -o [email protected] news/[email protected]
python fix.py [email protected]
first_issue_en:
$(RGBASM) -D _NEWS_EN -o news_en/[email protected] "news_en/[email protected]"
$(RGBLINK) -x -o [email protected] news_en/[email protected]
python fix.py [email protected]
first_issue_de:
$(RGBASM) -D _NEWS_DE -o news_de/[email protected] "news_de/[email protected]"
$(RGBLINK) -x -o [email protected] news_de/[email protected]
python fix.py [email protected]
first_issue_fr:
$(RGBASM) -D _NEWS_FR -o news_fr/[email protected] "news_fr/[email protected]"
$(RGBLINK) -x -o [email protected] news_fr/[email protected]
python fix.py [email protected]
first_issue_es:
$(RGBASM) -D _NEWS_ES -o news_es/[email protected] "news_es/[email protected]"
$(RGBLINK) -x -o [email protected] news_es/[email protected]
python fix.py [email protected]
first_issue_it:
$(RGBASM) -D _NEWS_IT -o news_it/[email protected] "news_it/[email protected]"
$(RGBLINK) -x -o [email protected] news_it/[email protected]
python fix.py [email protected]