aboutsummaryrefslogtreecommitdiff
path: root/snag/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'snag/makefile')
-rw-r--r--snag/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/snag/makefile b/snag/makefile
index 8fa032c..b44020f 100644
--- a/snag/makefile
+++ b/snag/makefile
@@ -3,7 +3,7 @@ CFLAGS = -Wall -g
TARGET = snag
-SRCS = main.c
+SRCS = main.c pkg_db.c
OBJS = $(SRCS:.c=.o)
.SILENT: $(OBJS) $(TARGET)
@@ -15,7 +15,7 @@ clean:
$(TARGET): $(OBJS)
printf " LD %s\n" $@
- $(CC) $(CFLAGS) -o $@ $<
+ $(CC) $(CFLAGS) -o $@ $^
%.o: %.c
printf " CC %s\n" $<