utils/installwatch: initial commit
[grimoire-witchcraft.git] / utils / installwatch / installwatch-cflags.diff
blob0078dfa021bdcb918bd904f4686ac8ae3370cef4
1 --- installwatch-0.6.3/Makefile.ori 2004-09-08 16:05:24.475554253 +0200
2 +++ installwatch-0.6.3/Makefile 2004-09-08 16:06:55.238768317 +0200
3 @@ -16,10 +16,10 @@
4 all: installwatch.so
6 installwatch.so: installwatch.o
7 - ld -shared -o installwatch.so installwatch.o -ldl -lc
8 + $(CC) $(CFLAGS) $(LDFLAGS) -shared -nostdlib -o installwatch.so installwatch.o -ldl -lc
10 installwatch.o: installwatch.c localdecls.h
11 - gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c
12 + $(CC) $(CFLAGS) -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c
14 localdecls.h:
15 ./create-localdecls
16 @@ -33,7 +33,7 @@
17 uninstall:
18 rm $(LIBDIR)/installwatch.so
19 rm $(BINDIR)/installwatch
22 clean:
23 rm -f *~ *.bak *.o installwatch.so core localdecls.h libctest test-installwatch