Compiling with -pedantic
This commit is contained in:
parent
de44434d82
commit
52c634717a
@ -6,7 +6,7 @@ CC = cc
|
||||
CPPFLAGSF=
|
||||
CPPFLAGS=
|
||||
CFLAGSF = -W
|
||||
CFLAGS = -Wall -g -O2
|
||||
CFLAGS = -Wall -g -O2 -pedantic
|
||||
LDFLAGSF= -L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System
|
||||
LDFLAGS =
|
||||
RM = rm -f
|
||||
@ -31,7 +31,7 @@ makedepend_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
||||
makedepend: $(makedepend_OBJS)
|
||||
$(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
|
||||
|
||||
makefile.o: makefile.c configure.h settings.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
targets=configure,makedepend
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
ldflags_force=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System
|
||||
ldflags=-l dl
|
||||
dist=Makefile,configure.h,makefile.h,settings.h
|
||||
@ -11,7 +11,7 @@ sources=configure.c,makefile.c,settings.c
|
||||
install=$(BINDIR)
|
||||
|
||||
[configure.c]
|
||||
depends=configure.h,makefile.h
|
||||
depends=configure.h,makefile.h,../config.h
|
||||
|
||||
[makefile.c]
|
||||
depends=configure.h,settings.h
|
||||
|
Loading…
Reference in New Issue
Block a user