summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <=>2015-09-22 21:37:16 +0100
committerFreeArtMan <=>2015-09-22 21:37:16 +0100
commit6b85a7d453414d31432e63045581b2602d4abf45 (patch)
treeb99a04923dda28ff9d4607df09179f1f8bd26529 /Makefile
parentfa74c1448e236995a34d767a6e76c3055698fb60 (diff)
downloadradiola-6b85a7d453414d31432e63045581b2602d4abf45.tar.gz
radiola-6b85a7d453414d31432e63045581b2602d4abf45.zip
Added tui interface, updated gitignores, updated makefiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0a6c6e0..4faf17e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ PROJECT=radiola
CC=gcc
CFLAGS=
LDFLAGS=
+CLEAN=
BUILD_DIR=build/
@@ -9,15 +10,16 @@ SOURCES=
OBJECTS=
OBJECTS_FINAL=
-
-
+include draw/make.mk
include hw/make.mk
make: $(OBJECTS)
$(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS)
+ ld -r $(OBJECTS_FINAL) -o $(PROJECT).o
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $(BUILD_DIR)$@
clean:
rm -f $(PROJECT)
+ rm -f $(OBJECTS_FINAL)