-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 847 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (30 loc) · 847 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
#
# LISE package top-level Makefile.
#
# Edit file './LISE.defs' to the specifics of the target platform.
#
# Invocation(s) from './':
# make clean
# make -e
#
# Successful builds will copy program executables to './bin'.
# A copy of the programs is left in the respective directories './LISE-SLDAsolver', './LISE-TDSLDA'.
# 'clean' removes the objects and programs from these directories only, not from './bin'.
# The programs in './bin' are overwritten on subsequent builds.
#
SHELL = /bin/sh
include $(CURDIR)/LISE.defs
LISE_BIN_DIR=$(CURDIR)/bin
$(shell mkdir -p $(LISE_BIN_DIR))
SUBDIRS = LISE-SLDAsolver LISE-TDSLDA
subdirs:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir; \
done
.PHONY : clean subdirs $(SUBDIRS)
clean: $(SUBDIRS)
rm -f *.o x*
$(SUBDIRS):
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done