Make sure config.h is included

This commit is contained in:
Fred Sundvik 2017-06-16 21:38:34 +03:00
parent 7424261dae
commit 8674f9c466
2 changed files with 2 additions and 0 deletions

View file

@ -20,3 +20,4 @@ TEST_PATH=tests/$(TEST)
$(TEST)_SRC=$(TEST_PATH)/test.c $(TMK_COMMON_SRC) $(TEST)_SRC=$(TEST_PATH)/test.c $(TMK_COMMON_SRC)
$(TEST)_DEFS=$(TMK_COMMON_DEFS) $(TEST)_DEFS=$(TMK_COMMON_DEFS)
$(TEST)_CONFIG=$(TEST_PATH)/config.h

View file

@ -50,6 +50,7 @@ endif
$(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC) $(TEST_OBJ)/$(TEST)_SRC := $($(TEST)_SRC)
$(TEST_OBJ)/$(TEST)_INC := $($(TEST)_INC) $(VPATH) $(GTEST_INC) $(TEST_OBJ)/$(TEST)_INC := $($(TEST)_INC) $(VPATH) $(GTEST_INC)
$(TEST_OBJ)/$(TEST)_DEFS := $($(TEST)_DEFS) $(TEST_OBJ)/$(TEST)_DEFS := $($(TEST)_DEFS)
$(TEST_OBJ)/$(TEST)_CONFIG := $($(TEST)_CONFIG)
include $(TMK_PATH)/native.mk include $(TMK_PATH)/native.mk
include $(TMK_PATH)/rules.mk include $(TMK_PATH)/rules.mk