Subversion Repositories Mokou

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 15
Line 1... Line 1...
1
# $Id: Makefile 2 2024-09-05 18:31:51Z nishi $
1
# $Id: Makefile 15 2024-09-07 13:23:03Z nishi $
2
 
2
 
3
PREFIX = /usr/local
3
PREFIX = /usr/local
4
PLATFORM = generic
4
PLATFORM = generic
5
PWD = `pwd`
5
PWD = `pwd`
6
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD) PREFIX=$(PREFIX)
6
FLAGS = PLATFORM=$(PLATFORM) PWD=$(PWD) PREFIX=$(PREFIX)
7
 
7
 
8
.PHONY: all clean ./Mokou ./Control
8
.PHONY: all clean ./Mokou ./Control
9
 
9
 
10
all: ./Mokou ./Control
10
all: ./Mokou ./Control ./Manpage/mokouctl.8
11
 
11
 
12
./Mokou::
12
./Mokou::
13
	$(MAKE) -C $@ $(FLAGS)
13
	$(MAKE) -C $@ $(FLAGS)
14
 
14
 
15
./Control::
15
./Control::
16
	$(MAKE) -C $@ $(FLAGS)
16
	$(MAKE) -C $@ $(FLAGS)
17
 
17
 
-
 
18
./Manpage/mokouctl.8: ./Manpage/mokouctl.8.tmp
-
 
19
	sed "s%@PREFIX@%$(PREFIX)%g" ./Manpage/mokouctl.8.tmp > $@
-
 
20
 
18
clean:
21
clean:
19
	$(MAKE) -C ./Mokou $(FLAGS) clean
22
	$(MAKE) -C ./Mokou $(FLAGS) clean
20
	$(MAKE) -C ./Control $(FLAGS) clean
23
	$(MAKE) -C ./Control $(FLAGS) clean
-
 
24
	rm -f ./Manpage/mokouctl.8