-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (38 loc) · 895 Bytes
/
Makefile
File metadata and controls
42 lines (38 loc) · 895 Bytes
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
################
#
# Generic Makefile to create a library of functions, compile
# a main routine and link this main routine to the library
# just created and to required system libraries.
#
# Written 4 Feb 2002 DLM
#
################
#
# Application dependent variables
#
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# List of subdirectories containing needed libraries (routines)
#
SUB_DIRS = data_server \
topbox_server \
instrument_server \
wish
#
# ** Edit only variables above this line **
#
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#
# Change to each subdirectory listed in SUB_DIR and
# execute Makefile
#
subdirectories:
@for i in $(SUB_DIRS); do \
make -C $$i --no-print-directory; \
done
clean:
@${RM} $(NAME).o $(NAME)
@for i in $(SUB_DIRS); do \
echo "cleaning $$i"; \
make -C $$i --no-print-directory clean_all; \
done