Blame | Last modification | View Log | RSS feed
# rebootd - makefile for release
PROJ= rebootd
PROG= $(PROJ)
SRCS= rebootd.c
VER_MAJOR= %VER_MAJOR%
VER_MINOR= %VER_MINOR%
VER_REVISION= %VER_REVISION%
$(PROG): $(SRCS)
cc -o $(PROG) \
-DVER_MAJOR=\"$(VER_MAJOR)\" -DVER_MINOR=\"$(VER_MINOR)\" -DVER_REVISION=\"$(VER_REVISION)\" \
$(SRCS)
all: clean $(PROG)
clean:
rm -f $(PROG)