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 1a174ac..e45c8d0 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ LDLIBS = -lgit2
sed -e 's:@VERSION@:$(VERSION):g' -e 's:@DATE@:$(DATE):g' < $< > $@
.c.to:
- $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ -c $< $(LDLIBS)
+ $(CC) $(CFLAGS) -DTEST -o $@ -c $<
manpages.en.in = \
@@ -38,10 +38,10 @@ t-objects = $(sources:.c=.to) src/tests-lib.to src/main.to
all: gistatic libgistatic.a $(manpages)
gistatic: $(all-objects)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS)
gistatic-tests: $(t-objects)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS)
libgistatic.a: $(lib-objects)
$(AR) $(ARFLAGS) $@ $(lib-objects)