1
0

Makefile 456 B

123456789101112131415161718192021222324
  1. #
  2. # Executable
  3. #
  4. # Executables
  5. PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile
  6. # Files
  7. PREBUILDS = $(wildcard *.prebuild)
  8. RESULTS = $(PREBUILDS:prebuild=results)
  9. TESTS = $(PREBUILDS:prebuild=test)
  10. all: $(TESTS)
  11. clean:
  12. rm -f *~ *.log
  13. rm -f $(RESULTS)
  14. %.test: %.prebuild
  15. $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null
  16. if ! cmp $*.expected $*.results; then \
  17. echo $*.prebuild failed; \
  18. false; \
  19. fi