forked from mkazhdan/TextureSignalProcessing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (14 loc) · 626 Bytes
/
Makefile
File metadata and controls
18 lines (14 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
programs = Geodesics LineIntegralConvolution TextureFiltering TextureStitching ReactionDiffusion
# Allow "make -j" to operate in parallel over the programs.
all: $(programs)
$(programs):
$(MAKE) -C $@
programs_debug = $(foreach n,$(programs),debug_$(n)) # pseudo-dependency to allow "make -j" parallelism
debug: $(programs_debug)
$(programs_debug):
$(MAKE) -C $(@:debug_%:%) debug
programs_clean = $(foreach n,$(programs),clean_$(n)) # pseudo-dependency to allow "make -j" parallelism
clean: $(programs_clean)
$(programs_clean):
$(MAKE) -C $(@:clean_%=%) clean
.PHONY: $(programs) $(programs_debug) $(programs_clean)