summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-05-10 22:42:11 +0100
committerFreeArtMan <dos21h@gmail.com>2016-05-10 22:42:11 +0100
commit44dedb90f005bb0de9bddbd592a5c78f28bc67d1 (patch)
tree274b9cea44df3f96a965c564e26cdac42d3af94f /Makefile
parentbb426577c85f6d97cc28ab677e98e2b1f73eadac (diff)
downloadihe-44dedb90f005bb0de9bddbd592a5c78f28bc67d1.tar.gz
ihe-44dedb90f005bb0de9bddbd592a5c78f28bc67d1.zip
Replace cmd first part
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7a35c26..4a6b232 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
PROJECT=ihe
CC=gcc
CFLAGS=
-SOURCES=buf.c cmd.c core.c
-OBJECTS=$(SOURCES:.c=.o)
+SOURCES=buf.c core.c
+OBJECTS=$(SOURCES:.c=.o)
+LIB_OBJECTS=libcmd/libcmd.o libterm/libterm.o
all: clean $(OBJECTS) $(PROJECT)
$(PROJECT):
- $(CC) $(CFLAGS) $(OBJECTS) $(PROJECT).c -o $(PROJECT)
+ $(CC) $(CFLAGS) $(OBJECTS) $(LIB_OBJECTS) $(PROJECT).c -o $(PROJECT)
%.o: %.c
$(CC) $(CFLAGS) -c $<
@@ -18,5 +19,4 @@ clean:
leak:
valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./ihe
- #valgrind --track-origins=yes --log-file=log.txt ./dm -f test/test.bin -m test/one_byte.dm