diff options
author | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
commit | e42911405c4bc2f8c097f47d4598baf8522ef3da (patch) | |
tree | 9eb767c5e6a4443e8773b18ea76cf4216f6c8758 /Makefile | |
parent | 9b95088bddcf1f83e3a8f73f08f49b38ecb0f500 (diff) | |
download | radiola-master.tar.gz radiola-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -7,20 +7,21 @@ CLEAN= BUILD_DIR=build/ -SOURCES= +SRC_DIR=src/ +SOURCES= OBJECTS= OBJECTS_FINAL= -include core/make.mk -include draw/make.mk -include filt/make.mk -include hw/make.mk -include mod/make.mk +include $(SRC_DIR)/core/make.mk +include $(SRC_DIR)/draw/make.mk +include $(SRC_DIR)/filt/make.mk +include $(SRC_DIR)/hw/make.mk +include $(SRC_DIR)/mod/make.mk make: $(OBJECTS) - $(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS) + $(CC) $(OBJECTS_FINAL) $(SRC_DIR)$(PROJECT).c -o $(PROJECT) $(LDFLAGS) ld -r $(OBJECTS_FINAL) -o $(PROJECT).o %.o: %.c |