Rev 1177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1177 | Rev 1187 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | # rebootd - makefile for release |
1 | # rebootd - makefile for release |
2 | 2 | ||
3 | PROJ= rebootd |
3 | PROJ= rebootd |
4 | PROG= $(PROJ) |
4 | PROG= $(PROJ) |
5 | SRCS= rebootd.c |
- | |
6 | 5 | ||
- | 6 | HEADERS= rebootd.h config.h signals.h network.h |
|
- | 7 | SRCS= rebootd.c config.c signals.c network.c |
|
- | 8 | ||
7 | VER_MAJOR= %VER_MAJOR% |
9 | VER_MAJOR= %VER_MAJOR% |
8 | VER_MINOR= %VER_MINOR% |
10 | VER_MINOR= %VER_MINOR% |
9 | VER_REVISION= %VER_REVISION% |
11 | VER_REVISION= %VER_REVISION% |
10 | 12 | ||
11 | $(PROG): $(SRCS) |
13 | $(PROG): $(HEADERS) $(SRCS) |
12 | cc -o $(PROG) \ |
14 | cc -o $(PROG) \ |
13 | -DVER_MAJOR=\"$(VER_MAJOR)\" -DVER_MINOR=\"$(VER_MINOR)\" -DVER_REVISION=\"$(VER_REVISION)\" \ |
15 | -DVER_MAJOR=\"$(VER_MAJOR)\" -DVER_MINOR=\"$(VER_MINOR)\" -DVER_REVISION=\"$(VER_REVISION)\" \ |
14 | $(SRCS) |
16 | $(SRCS) |
15 | 17 | ||
16 | all: clean $(PROG) |
18 | all: clean $(PROG) |