aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index e0dc9ae..c74d14e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,13 @@
# demiurge makefile
TARGET = demiurge
-OBJS = login.o util.o post.o main.o upload_file.o
+OBJS = login.o util.o post.o main.o upload_file.o asprintf.o follow.o
CC = cc
-CFLAGS = -O2 -MD -std=c11 -Wall -Wextra -lcurl -lreadline -ljson-c
+CFLAGS += -O2 -MD -std=c11 -Wall -Wextra -lcurl -g -lreadline -ljson-c
$(TARGET): $(OBJS)
- $(CC) $(OBJS) $(CFLAGS) $(CFLAGSDEF) -o $(TARGET)
+ $(CC) $(OBJS) $(CFLAGS) -o $(TARGET)
%.o: %.c
$(CC) -c $(CFLAGS) $(CFLAGSDEF) $< -o $@