Subversion Repositories general

Rev

Rev 1173 | Go to most recent revision | Blame | Compare with Previous | 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)