You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
520 B

Index: Makefile
--- Makefile.orig 2009-12-02 15:20:54.000000000 +0100
+++ Makefile 2010-03-31 16:29:49.000000000 +0200
@@ -1,6 +1,6 @@
BINS = sparql-query
REQUIRES = glib-2.0 libcurl libxml-2.0
-gitrev := $(shell git rev-parse --short HEAD)
+gitrev := 0
# PROFILE = -pg
CFLAGS = -std=gnu99 -Wall -DGIT_REV=\"$(gitrev)\" $(PROFILE) -g -O2 `pkg-config --cflags $(REQUIRES)`
@@ -16,4 +16,4 @@
rm -f *.o $(BINS)
sparql-query: sparql-query.o result-parse.o
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS)