-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 717 Bytes
/
Makefile
File metadata and controls
38 lines (28 loc) · 717 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
CORDIR = correlate
PRECOMPDIR = precompute
ESTDIR = estimators
BINDIR = bin
help:
@echo " "
@echo "Use one of the targets below"
@echo " all: build all programs"
@echo " pre: build precompute code"
@echo " corr: build correlation code"
@echo " est: build estimation code"
@echo " clean: clean all builds"
all: corr pre est
corr:
@cd $(CORDIR); make; mv correlate ../$(BINDIR)/;
pre:
@cd $(PRECOMPDIR); make; mv precompute ../$(BINDIR)/;
est:
@cd $(ESTDIR); make; mv estimate ../$(BINDIR)/;
clean: clean_corr clean_pre clean_est clean_bin
clean_est:
@cd $(ESTDIR); make clean;
clean_corr:
@cd $(CORDIR); make clean;
clean_pre:
@cd $(PRECOMPDIR); make clean;
clean_bin:
@cd $(BINDIR);rm *;