diff --git a/Makefile b/Makefile index 7074a0e..09b9b0a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CFLAGS = -Wall -Wextra -std=gnu11 -O2 -LDFLAGS = -lpthread -lcurl -lmrss -lpq +CFLAGS = -I/usr/local/include -Ipostgresql -Wall -Wextra -std=gnu11 -O2 +LDFLAGS = -L/usr/local/lib -lpthread -lcurl -lmrss -lpq SRC = $(wildcard *.c) OBJ = $(SRC:.c=.o) @@ -8,4 +8,4 @@ zblock: $(OBJ) /usr/local/lib/libdiscord.a $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) .PHONY: clean -clean: rm -f $(OBJ) linuxbot +clean: rm -f $(OBJ) zblock diff --git a/feed_info.c b/feed_info.c index c9d13e4..808e316 100644 --- a/feed_info.c +++ b/feed_info.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include "config.h" #include "feed_info.h" diff --git a/feed_info.h b/feed_info.h index 091affb..dcae3bf 100644 --- a/feed_info.h +++ b/feed_info.h @@ -3,7 +3,7 @@ #include -#include +#include typedef struct { char *url; diff --git a/main.c b/main.c index 7194fa4..b3ce7c7 100644 --- a/main.c +++ b/main.c @@ -17,7 +17,7 @@ #include -#include +#include #include "config.h" #include "feed_info.h"