summaryrefslogtreecommitdiffabout
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (show whitespace changes)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 302ff4c..2fe537e 100644
--- a/Makefile
+++ b/Makefile
@@ -86,25 +86,25 @@ VERSION: force-version
86-include VERSION 86-include VERSION
87 87
88 88
89CFLAGS += -g -Wall -Igit 89CFLAGS += -g -Wall -Igit
90CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER)' 90CFLAGS += -DSHA1_HEADER='$(SHA1_HEADER)'
91CFLAGS += -DCGIT_VERSION='"$(CGIT_VERSION)"' 91CFLAGS += -DCGIT_VERSION='"$(CGIT_VERSION)"'
92CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"' 92CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
93CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' 93CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
94CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' 94CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
95 95
96 96
97cgit: $(OBJECTS) libgit 97cgit: $(OBJECTS) libgit
98 $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) 98 $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
99 99
100cgit.o: VERSION 100cgit.o: VERSION
101 101
102-include $(OBJECTS:.o=.d) 102-include $(OBJECTS:.o=.d)
103 103
104libgit: 104libgit:
105 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a 105 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a
106 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a 106 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a
107 107
108test: all 108test: all
109 $(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all 109 $(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
110 110