| 1 | diff -u -r ../checkinstall-1.6.2/installwatch/Makefile ./installwatch/Makefile |
| 2 | --- ../checkinstall-1.6.2/installwatch/Makefile 2008-11-16 11:20:53.000000000 -0500 |
| 3 | +++ ./installwatch/Makefile 2016-10-28 16:34:12.825762120 -0400 |
| 4 | @@ -4,7 +4,7 @@ |
| 5 | # Well, the only configurable part is the following variable. |
| 6 | # Make sure the directory you specify exists. |
| 7 | |
| 8 | -PREFIX=/usr/local |
| 9 | +PREFIX?=/usr/local |
| 10 | |
| 11 | # End of configurable part |
| 12 | |
| 13 | @@ -16,10 +16,10 @@ |
| 14 | all: installwatch.so |
| 15 | |
| 16 | installwatch.so: installwatch.o |
| 17 | - ld -shared -o installwatch.so installwatch.o -ldl -lc |
| 18 | + $(CC) $(LDFLAGS) -shared -o installwatch.so installwatch.o -ldl -lc -llog |
| 19 | |
| 20 | installwatch.o: installwatch.c localdecls.h |
| 21 | - gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c |
| 22 | + $(CC) $(CFLAGS) -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c |
| 23 | |
| 24 | localdecls.h: create-localdecls |
| 25 | ./create-localdecls |