Compiling with -pedantic

This commit is contained in:
Pierre Pronchery 2009-08-13 15:16:41 +00:00
parent de44434d82
commit 52c634717a
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ CC = cc
CPPFLAGSF= CPPFLAGSF=
CPPFLAGS= CPPFLAGS=
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System
LDFLAGS = LDFLAGS =
RM = rm -f RM = rm -f
@ -31,7 +31,7 @@ makedepend_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
makedepend: $(makedepend_OBJS) makedepend: $(makedepend_OBJS)
$(CC) -o makedepend $(makedepend_OBJS) $(makedepend_LDFLAGS) $(CC) -o makedepend $(makedepend_OBJS) $(makedepend_LDFLAGS)
configure.o: configure.c configure.h makefile.h configure.o: configure.c configure.h makefile.h ../config.h
$(CC) $(configure_CFLAGS) -c configure.c $(CC) $(configure_CFLAGS) -c configure.c
makefile.o: makefile.c configure.h settings.h makefile.o: makefile.c configure.h settings.h

View File

@ -1,6 +1,6 @@
targets=configure,makedepend targets=configure,makedepend
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 cflags=-Wall -g -O2 -pedantic
ldflags_force=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System ldflags_force=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System
ldflags=-l dl ldflags=-l dl
dist=Makefile,configure.h,makefile.h,settings.h dist=Makefile,configure.h,makefile.h,settings.h
@ -11,7 +11,7 @@ sources=configure.c,makefile.c,settings.c
install=$(BINDIR) install=$(BINDIR)
[configure.c] [configure.c]
depends=configure.h,makefile.h depends=configure.h,makefile.h,../config.h
[makefile.c] [makefile.c]
depends=configure.h,settings.h depends=configure.h,settings.h