Add target for only compiling tests ENGINE-228
authorDamiano Boppart <damiano@pep-security.net>
Thu, 24 Aug 2017 11:26:47 +0200
branchENGINE-228
changeset 19949e3f25c1644f
parent 1993 efaeadf3e6f0
child 1995 0a204ba5aefc
Add target for only compiling tests
test/Makefile
     1.1 --- a/test/Makefile	Wed Aug 23 11:06:55 2017 +0000
     1.2 +++ b/test/Makefile	Thu Aug 24 11:26:47 2017 +0200
     1.3 @@ -78,7 +78,7 @@
     1.4  	$(TEST_CMD_PFX) ./$<
     1.5  
     1.6  %_test : %_test.o test_util.o
     1.7 -	 $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
     1.8 +	$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
     1.9  
    1.10  %_run : % test_home_
    1.11  	$(TEST_CMD_PFX) ./$<
    1.12 @@ -95,6 +95,9 @@
    1.13  .PHONY: unit_tests
    1.14  unit_tests: $(UNIT_TESTS) $(UNIT_TESTS_RUN)
    1.15  
    1.16 +.PHONY: compile
    1.17 +compile: $(UNIT_TESTS) $(TARGET)
    1.18 +
    1.19  # Installs the engine, not the test binaries
    1.20  .PHONY: install
    1.21  install: