-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
24 lines (17 loc) · 919 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
DF=-I=source -unittest -g -cov
ut: banks.o ibans.o structures.o testdata.o validation.o constructor.o
dmd -main -unittest -g -cov banks.o ibans.o structures.o testdata.o validation.o constructor.o -of=ut
banks.o: source/iban/banks.d source/iban/structures.d
dmd -c source/iban/banks.d ${DF} -of=$@
ibans.o: source/iban/ibans.d source/iban/structures.d
dmd -c source/iban/ibans.d ${DF} -of=$@
structures.o: source/iban/structures.d
dmd -c source/iban/structures.d ${DF} -of=$@
testdata.o: source/iban/testdata.d
dmd -c source/iban/testdata.d ${DF} -of=$@
validation.o: source/iban/validation.d source/iban/structures.d source/iban/testdata.d source/iban/ibans.d
dmd -c source/iban/validation.d ${DF} -of=$@
constructor.o: source/iban/constructor.d source/iban/validation.d source/iban/testdata.d source/iban/structures.d source/iban/ibans.d
dmd -c source/iban/constructor.d ${DF} -of=$@
clean:
rm ut *.o