Subversion Repositories Tewi

Rev

Rev 145 | Rev 152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 145 Rev 146
Line 1... Line 1...
1
# $Id: Makefile 145 2024-09-23 18:18:27Z nishi $
1
# $Id: Makefile 146 2024-09-24 17:07:09Z nishi $
2
 
2
 
3
PWD = `pwd`
3
PWD = `pwd`
4
PLATFORM = generic
4
PLATFORM = generic
5
PREFIX = /usr/local
5
PREFIX = /usr/local
6
 
6
 
Line 10... Line 10...
10
 
10
 
11
.PHONY: all format clean ./Server ./Common ./Module ./Manpage get-version
11
.PHONY: all format clean ./Server ./Common ./Module ./Manpage get-version
12
 
12
 
13
all: ./Server ./Module ./Manpage ./Tool/genconf ./Tool/itworks
13
all: ./Server ./Module ./Manpage ./Tool/genconf ./Tool/itworks
14
 
14
 
15
./Tool/option: ./Tool/option.c
15
./Tool/option: ./Tool/option.c config.h
16
	cc -o $@ ./Tool/option.c
16
	cc -o $@ ./Tool/option.c
17
 
17
 
18
./Tool/genconf: ./Tool/genconf.c
18
./Tool/genconf: ./Tool/genconf.c config.h
19
	cc -o $@ ./Tool/genconf.c
19
	cc -o $@ ./Tool/genconf.c
20
 
20
 
21
./Tool/itworks: ./Tool/itworks.c
21
./Tool/itworks: ./Tool/itworks.c config.h
22
	cc -o $@ ./Tool/itworks.c
22
	cc -o $@ ./Tool/itworks.c
23
 
23
 
24
./Server:: ./Common ./Tool/option
24
./Server:: ./Common ./Tool/option
25
	$(MAKE) -C $@ $(FLAGS) EXTOBJS="`./Tool/option objs ../`" EXTLIBS="`./Tool/option libs ../`" EXTCFLAGS="`./Tool/option cflags ../`" EXTLDFLAGS="`./Tool/option ldflags ../`"
25
	$(MAKE) -C $@ $(FLAGS) EXTOBJS="`./Tool/option objs ../`" EXTLIBS="`./Tool/option libs ../`" EXTCFLAGS="`./Tool/option cflags ../`" EXTLDFLAGS="`./Tool/option ldflags ../`"
26
 
26