summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
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