/rebootd/trunk/Makefile |
---|
1,13 → 1,15 |
PROG= rebootdaemon |
SRCS= rebootdaemon.c |
# rebootd |
rebootdaemon: $(SRCS) |
PROG= rebootd |
SRCS= rebootd.c |
$(PROG): $(SRCS) |
cc -pedantic-errors -Wall -o $(PROG) $(SRCS) |
all: clean rebootdaemon |
all: clean $(PROG) |
pedantic: |
lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^rebootdaemon.c' |
lint -x -s -p -n -h -e -c -b -aa $(SRCS) | grep -E '^$(PROG)' |
cc -Wnested-externs -Wredundant-decls -Wmissing-declarations \ |
-Wmissing-prototypes -Wstrict-prototypes -Waggregate-return \ |
-Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith \ |