forked from rhdtownsend/gyre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (23 loc) · 769 Bytes
/
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
# File : Makefile
# Purpose : top-level makefile
# Variables
export BIN_DIR = ${CURDIR}/bin
export LIB_DIR = ${CURDIR}/lib
export INC_DIR = ${CURDIR}/include
# Rules
all : | $(BIN_DIR) $(LIB_DIR) $(INC_DIR)
@${MAKE} --no-print-directory -C src/forum/build
@${MAKE} --no-print-directory -C src/forum/build install
@${MAKE} --no-print-directory -C build
@${MAKE} --no-print-directory -C build install
test :
@${MAKE} --no-print-directory BINDIR=${BINDIR} -C test $@
build_ref build_ref_arch :
@${MAKE} -w -C test $@
clean almostclean :
@${MAKE} -w -C src/forum/build $@
@${MAKE} -w -C build $@
rm -f ${BIN_DIR}/* ${LIB_DIR}/* ${INC_DIR}/*
.PHONY: all test build_ref build_ref_arch clean almostclean
${BIN_DIR} ${LIB_DIR} ${INC_DIR} :
@mkdir -p $@