-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 749 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 749 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
################################################################################
# Macro definitions
################################################################################
TOPLEVEL = .
include ${TOPLEVEL}/Make.config # Parse for generic macros
################################################################################
# Targets
################################################################################
.PHONY: all lib example clean remake
all:
${MAKE} lib
${MAKE} example
lib:
cd src; ${MAKE} lib
example:
cd example; ${MAKE} all
clean:
rm -f *~
cd src; ${MAKE} clean
cd example; ${MAKE} clean
remake:
${MAKE} clean
${MAKE} all
################################################################################