summaryrefslogtreecommitdiff
path: root/src/draw/make.mk
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 /src/draw/make.mk
parent9b95088bddcf1f83e3a8f73f08f49b38ecb0f500 (diff)
downloadradiola-master.tar.gz
radiola-master.zip
Moved source to src directoryHEADmaster
Diffstat (limited to 'src/draw/make.mk')
-rw-r--r--src/draw/make.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/draw/make.mk b/src/draw/make.mk
new file mode 100644
index 0000000..5c0acc4
--- /dev/null
+++ b/src/draw/make.mk
@@ -0,0 +1,11 @@
+DIR_DRAW = draw/
+SOURCES_DRAW += $(SRC_DIR)draw/glui.c $(SRC_DIR)draw/tui.c $(SRC_DIR)draw/ui.c
+OBJECTS_DRAW += $(SOURCES_DRAW:.c=.o)
+LDFLAGS += -lGL `sdl2-config --cflags --libs`
+LDFLAGS_BSD +=
+
+
+OBJECTS_DIR_DRAW += $(subst $(SRC_DIR)$(DIR_DRAW),$(BUILD_DIR)$(SRC_DIR)$(DIR_DRAW),$(OBJECTS_DRAW))
+
+OBJECTS += $(OBJECTS_DRAW)
+OBJECTS_FINAL += $(OBJECTS_DIR_DRAW) \ No newline at end of file