Subversion Repositories general

Rev

Rev 1157 | Rev 1173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1157 Rev 1159
Line 1... Line 1...
1
PROG=	rebootdaemon
1
# rebootd
2
SRCS=	rebootdaemon.c
-
 
3
 
2
 
-
 
3
PROG=	rebootd
-
 
4
SRCS=	rebootd.c
-
 
5
 
4
rebootdaemon: $(SRCS)
6
$(PROG): $(SRCS)
5
	cc -pedantic-errors -Wall -o $(PROG) $(SRCS)
7
	cc -pedantic-errors -Wall -o $(PROG) $(SRCS)
6
 
8
 
7
all:	clean rebootdaemon
9
all:	clean $(PROG)
8
 
10
 
9
pedantic:
11
pedantic:
10
	lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^rebootdaemon.c'
12
	lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^$(PROG)'
11
	cc -Wnested-externs -Wredundant-decls -Wmissing-declarations \
13
	cc -Wnested-externs -Wredundant-decls -Wmissing-declarations \
12
		-Wmissing-prototypes -Wstrict-prototypes -Waggregate-return \
14
		-Wmissing-prototypes -Wstrict-prototypes -Waggregate-return \
13
		-Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith \
15
		-Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith \
14
		-Wshadow -pedantic-errors -Wall -o $(PROG) $(SRCS)
16
		-Wshadow -pedantic-errors -Wall -o $(PROG) $(SRCS)
15
 
17