Subversion Repositories general

Rev

Rev 1144 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1144 Rev 1156
Line 1... Line 1...
1
SRCS=rebootdaemon.c
1
PROG=	rebootdaemon
2
BIN=rebootdaemon
2
SRCS=	rebootdaemon.c
3
RES=$(BIN)
-
 
4
 
3
 
5
rebootdaemon: $(SRCS)
4
rebootdaemon: $(SRCS)
6
	cc -Wall -o $(BIN) $(SRCS)
5
	cc -pedantic-errors -Wall -o $(PROG) $(SRCS)
7
 
6
 
-
 
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
 
8
clean:
16
clean:
9
	rm -f $(RES)
17
	rm -f $(PROG)
10
 
18