-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
67 lines (57 loc) · 1.53 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
########################################################################
##
## -----------------------
## Makefile for KalTest
## -----------------------
##
## (Version Information)
## Version: 0.1
## Release: 1
##
## (Update Record)
## 2005/02/10 K.Fujii Separated from Satellites
##
## (Description)
## In order to use this package you should first set some
## environmental variables. Take a look at README in this
## directory.
##
## (Targets)
## all : creates libraries in lib.
## Makefiles : creates Makefiles.
## clean : deletes *.o ...
## distclean : deletes even lib/*.
##
########################################################################
MFLAGS =
CURRDIR = .
SUBDIRS = src # examples
all: dirs configure
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS); do \
(cd $$i; echo ``making'' all ``in $(CURRDIR)/$$i...''; \
$(MAKE) $(MFLAGS)); \
done
dirs:
mkdir -p lib include
configure:
configure_kaltest
Makefiles:
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS); do \
(cd $$i; echo ``making'' Makefiles ``in $(CURRDIR)/$$i...''; \
$(MAKE) $(MFLAGS) Makefiles); \
done
clean:
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS); do \
(cd $$i; echo ``making'' clean ``in $(CURRDIR)/$$i...''; \
$(MAKE) $(MFLAGS) clean); \
done
distclean: Makefiles
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS); do \
(cd $$i; echo ``making'' distclean ``in $(CURRDIR)/$$i...''; \
$(MAKE) $(MFLAGS) distclean); \
done
rm -rf lib include