summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-05-08 16:02:01 +0100
committerFreeArtMan <dos21h@gmail.com>2016-05-08 16:02:01 +0100
commite42911405c4bc2f8c097f47d4598baf8522ef3da (patch)
tree9eb767c5e6a4443e8773b18ea76cf4216f6c8758 /Makefile
parent9b95088bddcf1f83e3a8f73f08f49b38ecb0f500 (diff)
downloadradiola-master.tar.gz
radiola-master.zip
Moved source to src directoryHEADmaster
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