-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
67 lines (50 loc) · 1.28 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Makefile for the United Generators package
# Created 13-02-2006 by D.Kresan
# e-mail: [email protected]
# Where we are now
export TOPDIR=$(PWD)
# Default installation path
ifeq ($(strip $(UNIGEN)),)
export DESTDIR=/usr/local/UniGen
else
export DESTDIR=$(UNIGEN)
endif
.PHONY : all base genesis static base_static genesis_static clean_all clean clean_genesis install
SUBDIR=base converters input tasks
all :
@for subdir in $(SUBDIR) ; do \
$(MAKE) -C $$subdir all ; \
done
base :
$(MAKE) -C base all
genesis : base
@$(MAKE) -C converters/genesis all
@$(MAKE) -C tasks/genesis all
static :
@for subdir in $(SUBDIR) ; do \
$(MAKE) -C $$subdir static ; \
done
base_static :
$(MAKE) -C base static
genesis_static : base_static
@$(MAKE) -C converters/genesis static
@$(MAKE) -C tasks/genesis static
clean_all : clean clean_genesis
clean :
@for subdir in $(SUBDIR) ; do \
$(MAKE) -C $$subdir clean ; \
done
clean_genesis :
@$(MAKE) -C converters/genesis clean
@$(MAKE) -C tasks/genesis clean
install_all : install install_genesis
install :
@for subdir in $(SUBDIR) ; do \
$(MAKE) -C $$subdir install ; \
done
install_genesis :
@$(MAKE) -C converters/genesis install
@$(MAKE) -C tasks/genesis install
htmldoc : all
$(MAKE) -C base htmldoc
$(MAKE) -C tasks htmldoc