Subversion Repositories general

Rev

Rev 1177 | 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
 
1187 dev 6
HEADERS=        rebootd.h config.h signals.h network.h
7
SRCS=           rebootd.c config.c signals.c network.c
8
 
1173 dev 9
VER_MAJOR=	%VER_MAJOR%
10
VER_MINOR=	%VER_MINOR%
11
VER_REVISION=	%VER_REVISION%
12
 
1187 dev 13
$(PROG): $(HEADERS) $(SRCS)
1173 dev 14
	cc -o $(PROG) \
15
		-DVER_MAJOR=\"$(VER_MAJOR)\" -DVER_MINOR=\"$(VER_MINOR)\" -DVER_REVISION=\"$(VER_REVISION)\" \
16
		$(SRCS)
17
 
18
all:	clean $(PROG)
19
 
20
clean:
21
	rm -f $(PROG)
22