-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile
55 lines (49 loc) · 1.14 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
#################################################
# LIPS IV Driver for PDAPI #
# Integrated Makefile #
#################################################
### Macros ###
#DRIVERDIR = driver
FILTERDIR = pstoufr2cpca
PPDDIR = ppd
BACKENDDIR = backend
CPCADIR = cpca
CNGPLPDIR = cngplp
SRCDIRS =\
$(DRIVERDIR)\
$(FILTERDIR)\
$(PPDDIR)\
$(BACKENDDIR)\
$(CPCADIR) \
$(CNGPLPDIR)
### Make modules ###
all:
for dir in $(SRCDIRS); do\
echo Making modules $$dir ...;\
(cd $$dir; make) || exit 1;\
done
echo Make completed.
### Install modules ###
install:
for dir in $(SRCDIRS); do\
echo Installing modules $$dir ...;\
(cd $$dir; make install) || exit 1;\
done
### Uninstall modules ###
uninstall:
for dir in $(SRCDIRS); do\
echo Uninstalling modules $$dir ...;\
(cd $$dir; make uninstall) || exit 1;\
done
### Clean-up objects files ###
clean:
for dir in $(SRCDIRS); do\
echo Cleaning $$dir ...;\
(cd $$dir; make clean) || exit 1;\
done
### Clean-up objects and configure files ###
distclean:
for dir in $(SRCDIRS); do\
echo distclean $$dir ...;\
(cd $$dir; make distclean) || exit 1;\
done