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