Subversion Repositories general

Rev

Rev 1157 | Rev 1173 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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