diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |