From e42911405c4bc2f8c097f47d4598baf8522ef3da Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 8 May 2016 16:02:01 +0100 Subject: Moved source to src directory --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d347f98..2a85a59 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3