mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
Update makefile.
This commit is contained in:
parent
d53d8ce786
commit
0249957fad
1 changed files with 2 additions and 2 deletions
4
makefile
4
makefile
|
@ -165,13 +165,13 @@ shared_lib: $(SRC_OBJ) create_binary_dir
|
||||||
# Build Program
|
# Build Program
|
||||||
program: $(SRC_OBJ) create_binary_dir
|
program: $(SRC_OBJ) create_binary_dir
|
||||||
@echo LINK $(PROJECT_BIN_PATH)/$(PROJECT_NAME)
|
@echo LINK $(PROJECT_BIN_PATH)/$(PROJECT_NAME)
|
||||||
@$(CXX) $(SRC_OBJ) $(LIB) -o "$(PROJECT_BIN_PATH)/$(PROJECT_NAME)"
|
@$(CXX) $(ARCHFLAGS) $(SRC_OBJ) $(LIB) -o "$(PROJECT_BIN_PATH)/$(PROJECT_NAME)"
|
||||||
|
|
||||||
# Build Test Program
|
# Build Test Program
|
||||||
test_program: $(TESTSRC_OBJ) $(SRC_OBJ) create_binary_dir
|
test_program: $(TESTSRC_OBJ) $(SRC_OBJ) create_binary_dir
|
||||||
ifneq ($(PROJECT_TESTSRC_PATH),)
|
ifneq ($(PROJECT_TESTSRC_PATH),)
|
||||||
@echo LINK $(PROJECT_BIN_PATH)/$(PROJECT_NAME)_test
|
@echo LINK $(PROJECT_BIN_PATH)/$(PROJECT_NAME)_test
|
||||||
@$(CXX) $(TESTSRC_OBJ) $(SRC_OBJ) $(LIB) -o "$(PROJECT_BIN_PATH)/$(PROJECT_NAME)_test"
|
@$(CXX) $(ARCHFLAGS) $(TESTSRC_OBJ) $(SRC_OBJ) $(LIB) -o "$(PROJECT_BIN_PATH)/$(PROJECT_NAME)_test"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
Loading…
Reference in a new issue