Revision 383
Added by Aaron Marcuse-Kubitza about 13 years ago
Makefile | ||
---|---|---|
4 | 4 |
|
5 | 5 |
##### |
6 | 6 |
|
7 |
all: _not_file misc
|
|
7 |
all: _always misc
|
|
8 | 8 |
$(MAKE) plots |
9 | 9 |
./join VegX VegBIEN |
10 | 10 |
./review |
11 | 11 |
|
12 | 12 |
.SUFFIXES: |
13 | 13 |
|
14 |
_not_file:
|
|
15 |
.PHONY: _not_file
|
|
14 |
_always:
|
|
15 |
.PHONY: _always
|
|
16 | 16 |
|
17 | 17 |
misc := schemas/vegbien.sql schemas/vegbien_empty.sql |
18 | 18 |
|
19 | 19 |
all = $(wildcard for_review/*.csv) \ |
20 | 20 |
$(filter-out VegX-%,$(wildcard *-VegBIEN.*.csv)) VegX-*.plots.csv $(misc) |
21 | 21 |
|
22 |
clean: _not_file
|
|
22 |
clean: _always
|
|
23 | 23 |
$(RM) $(all) |
24 | 24 |
|
25 | 25 |
%:: %.make |
... | ... | |
41 | 41 |
schemas/vegbien_empty.sql: schemas/vegbien.sql |
42 | 42 |
$(empty) |
43 | 43 |
|
44 |
VegX-VegBIEN.organisms.csv: _not_file
|
|
44 |
VegX-VegBIEN.organisms.csv: _always
|
|
45 | 45 |
$(bin)/in_place $@ $(sort) |
46 | 46 |
|
47 | 47 |
##### |
48 | 48 |
|
49 |
plots: _not_file $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv))
|
|
49 |
plots: _always $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv))
|
|
50 | 50 |
|
51 | 51 |
chRoot2PlotsLeftVegx =\ |
52 | 52 |
env \ |
Also available in: Unified diff
Makefiles: Changed _not_file to _always because _not_file is sometimes used to force a file to always be remade