Makefile 272 B

12345678910111213141516
  1. EX=
  2. TESTEX=runtests
  3. CC=g++
  4. INC=include
  5. TESTDIR=test
  6. CFLAGS=-std=c++11 -I"$(INC)"
  7. tester: $(TESTDIR)/test.cpp
  8. $(CC) $^ src/FileAttributes.c src/Borland.c $(CFLAGS) -o $(TESTEX) -lboost_unit_test_framework
  9. cp $(TESTEX) .git/hooks/pre-commit
  10. clean:
  11. rm $(TESTEX) $(EX)