fixing bug with Makefile
authorvb
Thu, 26 Jun 2014 18:24:56 +0200
changeset 3bd4014e15899
parent 2 f1fc3afacfd6
child 5 ae0912a109cf
child 6 95fbe00f7cdc
fixing bug with Makefile
Makefile.conf
src/Makefile
     1.1 --- a/Makefile.conf	Wed Jun 25 18:48:18 2014 +0200
     1.2 +++ b/Makefile.conf	Thu Jun 26 18:24:56 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  BUILD_ON=$(shell uname)
     1.5  BUILD_FOR=$(BUILD_ON)
     1.6 -#OPTIMIZE=-g -O0
     1.7 -OPTIMIZE=-O3 -DNDEBUG
     1.8 +OPTIMIZE=-g -O0
     1.9 +#OPTIMIZE=-O3 -DNDEBUG
    1.10  # the next two lines are not for Windoze
    1.11  SYSTEM_DB=/usr/local/share/pEp/system.db
    1.12  PREFIX=$(HOME)
     2.1 --- a/src/Makefile	Wed Jun 25 18:48:18 2014 +0200
     2.2 +++ b/src/Makefile	Thu Jun 26 18:24:56 2014 +0200
     2.3 @@ -93,7 +93,7 @@
     2.4  
     2.5  %.d: %.c
     2.6  	@set -e; rm -f $@; \
     2.7 -	$(CC) -MM $(CPPFLAGS) $< > $@.$$$$; \
     2.8 +	$(CC) -MM $(CPPFLAGS) $(CFLAGS) $< > $@.$$$$; \
     2.9  	sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
    2.10  	rm -f $@.$$$$
    2.11