File: Makefile.compile

package info (click to toggle)
jacktrip 1.1~repack-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 896 kB
  • ctags: 629
  • sloc: cpp: 3,694; makefile: 93; sh: 51
file content (15 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dspsrc  := $(wildcard *.dsp)
cppsrc  := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp))
appl 	:= $(addprefix $(DEST), $(dspsrc:.dsp=$(EXT)))


all :  $(appl)


$(DEST)%$(EXT) : %.dsp 
	faust $(VEC) -a $(ARCH) $< -o $@.cpp
	$(CXX) -O3 $(CXXFLAGS) $(LIB) $@.cpp -o $@
	

clean :
	rm -f $(DEST)