change makefile to include correct libs
This commit is contained in:
@@ -3,7 +3,7 @@ CFLAGS = -g
|
||||
CPPFLAGS = -Wall -Wextra -pedantic -std=gnu99
|
||||
|
||||
chatty: main.o liblist.a
|
||||
$(CC) $(CFLAGS) -L. -o chatty main.o -llist -lpthread -lncurses -lnotcurses
|
||||
$(CC) $(CFLAGS) -L. -o chatty main.o -llist -lpthread -lnotcurses -lnotcurses-core
|
||||
|
||||
main.o: main.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -I. -c -o main.o main.c
|
||||
|
||||
Reference in New Issue
Block a user