add goal for gdc

This commit is contained in:
Andreas Zwinkau 2015-08-06 22:05:38 +02:00
parent 226d2e7035
commit 827aec26f4
1 changed files with 5 additions and 1 deletions

View File

@ -4,8 +4,9 @@ DMD_COMMON_FLAGS := -dip25 -w $(INCLUDE_PATHS)
DMD_FLAGS := -O -inline $(DMD_COMMON_FLAGS)
DMD_TEST_FLAGS := -unittest -g $(DMD_COMMON_FLAGS)
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
@ -13,6 +14,9 @@ ldc: $(SRC)
ldc2 $(LDC_FLAGS) $^ -ofbin/dfmt
-rm -f *.o
gdc: $(SRC)
gdc $(GDC_FLAGS) $^ -obin/dfmt
test: bin/dfmt-test
cd tests && ./test.sh