aboutsummaryrefslogtreecommitdiff
path: root/snag/makefile
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-20 19:07:43 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-20 19:07:43 -0400
commitd598be66eddc0e925eee96e23d9f95c88cf1f6ed (patch)
tree4edf80f0bdd7fab19e5f3a227da43ea0f3a8d0e1 /snag/makefile
parente057a21962fe9e81b47cfd6b97fc4c6c2cb156b9 (diff)
split into separate file, readme clarifications
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" $<