Rev 1173 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1173 | dev | 1 | # rebootd - makefile for release |
2 | |||
3 | PROJ= rebootd |
||
4 | PROG= $(PROJ) |
||
5 | SRCS= rebootd.c |
||
6 | |||
7 | VER_MAJOR= %VER_MAJOR% |
||
8 | VER_MINOR= %VER_MINOR% |
||
9 | VER_REVISION= %VER_REVISION% |
||
10 | |||
11 | $(PROG): $(SRCS) |
||
12 | cc -o $(PROG) \ |
||
13 | -DVER_MAJOR=\"$(VER_MAJOR)\" -DVER_MINOR=\"$(VER_MINOR)\" -DVER_REVISION=\"$(VER_REVISION)\" \ |
||
14 | $(SRCS) |
||
15 | |||
16 | all: clean $(PROG) |
||
17 | |||
18 | clean: |
||
19 | rm -f $(PROG) |
||
20 |