File: Makefile.compile

package info (click to toggle)
jacktrip 1.0.5.patch2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 748 kB
  • ctags: 473
  • sloc: cpp: 2,758; makefile: 86; sh: 26
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)