add goal for gdc
This commit is contained in:
parent
226d2e7035
commit
827aec26f4
6
makefile
6
makefile
|
@ -4,8 +4,9 @@ DMD_COMMON_FLAGS := -dip25 -w $(INCLUDE_PATHS)
|
||||||
DMD_FLAGS := -O -inline $(DMD_COMMON_FLAGS)
|
DMD_FLAGS := -O -inline $(DMD_COMMON_FLAGS)
|
||||||
DMD_TEST_FLAGS := -unittest -g $(DMD_COMMON_FLAGS)
|
DMD_TEST_FLAGS := -unittest -g $(DMD_COMMON_FLAGS)
|
||||||
LDC_FLAGS := -g -w -oq $(INCLUDE_PATHS)
|
LDC_FLAGS := -g -w -oq $(INCLUDE_PATHS)
|
||||||
|
GDC_FLAGS := -g -w -oq $(INCLUDE_PATHS)
|
||||||
|
|
||||||
.PHONY: dmd ldc test
|
.PHONY: dmd ldc gdc test
|
||||||
|
|
||||||
dmd: bin/dfmt
|
dmd: bin/dfmt
|
||||||
|
|
||||||
|
@ -13,6 +14,9 @@ ldc: $(SRC)
|
||||||
ldc2 $(LDC_FLAGS) $^ -ofbin/dfmt
|
ldc2 $(LDC_FLAGS) $^ -ofbin/dfmt
|
||||||
-rm -f *.o
|
-rm -f *.o
|
||||||
|
|
||||||
|
gdc: $(SRC)
|
||||||
|
gdc $(GDC_FLAGS) $^ -obin/dfmt
|
||||||
|
|
||||||
test: bin/dfmt-test
|
test: bin/dfmt-test
|
||||||
cd tests && ./test.sh
|
cd tests && ./test.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue