diff --git a/Makefile b/Makefile index b051c76..3d50413 100644 --- a/Makefile +++ b/Makefile @@ -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 -lnotcurses -lnotcurses-core + $(CC) $(CFLAGS) -L. -o chatty main.o -llist -lpthread -lnotcurses-core main.o: main.c $(CC) $(CFLAGS) $(CPPFLAGS) -I. -c -o main.o main.c