-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
40 lines (29 loc) · 883 Bytes
/
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
GPP = g++ -O3 -Wall -std=c++11
UTILS = ./Utilities
A = main.o
D = dabnamespace.o
E = pullet16interpreter.o
H = hex.o
M = onememoryword.o
S = scanner.o
SL = scanline.o
U = utils.o
Aprog: $A $D $E $H $M $S $(SL) $U
$(GPP) -o Aprog $A $D $E $H $M $S $(SL) $U
main.o: main.h main.cc
$(GPP) -c main.cc
dabnamespace.o: dabnamespace.h dabnamespace.cc
$(GPP) -c dabnamespace.cc
pullet16interpreter.o: pullet16interpreter.h pullet16interpreter.cc
# $(GPP) -c -DEBUG pullet16interpreter.cc
$(GPP) -c pullet16interpreter.cc
hex.o: hex.h hex.cc
$(GPP) -c hex.cc
onememoryword.o: onememoryword.h onememoryword.cc
$(GPP) -c onememoryword.cc
scanner.o: $(UTILS)/scanner.h $(UTILS)/scanner.cc
$(GPP) -c $(UTILS)/scanner.cc
scanline.o: $(UTILS)/scanline.h $(UTILS)/scanline.cc
$(GPP) -c $(UTILS)/scanline.cc
utils.o: $(UTILS)/utils.h $(UTILS)/utils.cc
$(GPP) -c $(UTILS)/utils.cc