Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1144 → Rev 1156

/rebootdaemon/trunk/Makefile
1,10 → 1,18
SRCS=rebootdaemon.c
BIN=rebootdaemon
RES=$(BIN)
PROG= rebootdaemon
SRCS= rebootdaemon.c
 
rebootdaemon: $(SRCS)
cc -Wall -o $(BIN) $(SRCS)
cc -pedantic-errors -Wall -o $(PROG) $(SRCS)
 
all: clean rebootdaemon
 
pedantic:
lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^rebootdaemon.c'
cc -Wnested-externs -Wredundant-decls -Wmissing-declarations \
-Wmissing-prototypes -Wstrict-prototypes -Waggregate-return \
-Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith \
-Wshadow -pedantic-errors -Wall -o $(PROG) $(SRCS)
 
clean:
rm -f $(RES)
rm -f $(PROG)