forked from grame-cncm/faustlive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (43 loc) · 1.25 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
### Platform name
arch ?= $(shell uname -s)
VERSION = $(shell cat Resources/distVersion.txt)
ifeq ($(arch), Darwin)
EXT = .app
else
ifneq ($(findstring MINGW32, $(arch)),)
EXT = .exe
arch = MinGW32
else
EXT =
endif
endif
all:
$(MAKE) -C Build/$(arch)
rm -rf FaustLive$(EXT)
cp -R Build/$(arch)/FaustLive$(EXT) .
help:
@echo "Usage : 'make; sudo make install'"
@echo "To enable Jack or NetJack driver : 'make JACK=1 NETJACK=1'"
@echo "To enable remote processing : 'make REMOTE=1'"
@echo "make or make all : compile FaustLive"
@echo "make clean : remove all object files"
@echo "make install : install FaustLive and its resources in Applications"
@echo "make uninstall : undo what install did"
@echo "make dist : make a FaustLive distribution as a .dmg file"
math_lib :
$(MAKE) -C Build/$(arch) math_lib
deploy:
$(MAKE) -C Build/$(arch) deploy
cp -R Build/$(arch)/FaustLive$(EXT) FaustLive$(EXT)
dist:
$(MAKE) -C Build/$(arch) dist
# make a distribution .zip file for FaustLive sources
dist-sources :
git archive --format=tar.gz -o FaustLive-sources-$(VERSION).tgz --prefix=FaustLive-sources-$(VERSION)/ HEAD
install:
$(MAKE) -C Build/$(arch) install
uninstall:
$(MAKE) -C Build/$(arch) uninstall
clean :
$(MAKE) -C Build/$(arch) clean
rm -rf FaustLive$(EXT)