You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 384B

1234567891011121314151617181920212223
  1. D=ldc2
  2. PROJECT=dx9interface
  3. EXT=dll
  4. SOURCES=*.d
  5. all: build
  6. rm -rf $(PROJECT).lib
  7. build:
  8. $(D) $(SOURCES) -shared -O3 -of=$(PROJECT).$(EXT)
  9. static:
  10. $(D) $(SOURCES) -lib -O3 -of=$(PROJECT).lib
  11. clean:
  12. rm -rf *.obj $(PROJECT).lib
  13. full-clean: clean
  14. rm $(PROJECT).$(EXT)
  15. help:
  16. @echo "Change variable D, to select compiler."
  17. @echo "For example compile with dmd: \`make D=dmd\`"