aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b2ce2df..fc6efe4 100644
--- a/Makefile
+++ b/Makefile
@@ -40,11 +40,11 @@ all: gistatic libgistatic.a $(manpages)
libgistatic.a: $(lib-objects)
$(AR) $(ARFLAGS) $@ $(lib-objects)
-gistatic: $(all-objects)
- $(CC) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS)
+gistatic: libgistatic.a src/main.o
+ $(CC) $(LDFLAGS) -o $@ src/main.o libgistatic.a $(LDLIBS)
gistatic-tests: $(t-objects)
- $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS)
src/config.h:
printf '#ifndef GISTATIC_CONFIG_H\n' >> $@