Rev 1144 | Rev 1157 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1156 | dev | 1 | PROG= rebootdaemon |
2 | SRCS= rebootdaemon.c |
||
1141 | dev | 3 | |
1144 | dev | 4 | rebootdaemon: $(SRCS) |
1156 | dev | 5 | cc -pedantic-errors -Wall -o $(PROG) $(SRCS) |
1144 | dev | 6 | |
1156 | dev | 7 | all: clean rebootdaemon |
8 | |||
9 | pedantic: |
||
10 | lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^rebootdaemon.c' |
||
11 | cc -Wnested-externs -Wredundant-decls -Wmissing-declarations \ |
||
12 | -Wmissing-prototypes -Wstrict-prototypes -Waggregate-return \ |
||
13 | -Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith \ |
||
14 | -Wshadow -pedantic-errors -Wall -o $(PROG) $(SRCS) |
||
15 | |||
1144 | dev | 16 | clean: |
1156 | dev | 17 | rm -f $(PROG) |
1144 | dev | 18 |