forked from NLAFET/preAlps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (34 loc) · 1.06 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
#
include make.inc
all: compil_cplm compil_utils compil_src compil_examples ok
compil_cplm:
@if [ ! -d $(LIBDIR) ]; then mkdir -v $(LIBDIR);fi
( cd $(CPLM_CORE) ; $(MAKE) )
( cd $(CPLM_V0_DIR) ; $(MAKE) )
( cd $(CPLMDIR) ; $(MAKE) )
compil_utils:
@if [ ! -d $(LIBDIR) ]; then mkdir -v $(LIBDIR);fi
make -C $(UTILS)
compil_src:
@if [ ! -d $(LIBDIR) ]; then mkdir -v $(LIBDIR);fi
make -C $(SRC)
compil_examples:
@if [ ! -d $(BINDIR) ]; then mkdir -v $(BINDIR);fi
make -C $(EXAMPLES)
clean:
rm -f $(LIBDIR)/lib$(LIBNAME).a
make clean -C $(UTILS)
( cd $(CPLM_CORE) ; $(MAKE) clean)
( cd $(CPLM_V0_DIR) ; $(MAKE) clean)
( cd $(CPLMDIR) ; $(MAKE) clean)
make clean -C $(SRC)
make clean -C $(EXAMPLES)
distclean:
clean
make clean -C $(EXAMPLES)
ok:
@echo ""
@echo "****************************************************************************************"
@echo "************** Compile sucessful ****************************************************"
@echo "****************************************************************************************"
@echo ""