forked from wineasio/wineasio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (45 loc) · 1.52 KB
/
Copy pathMakefile
File metadata and controls
58 lines (45 loc) · 1.52 KB
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
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/make -f
# Makefile for WineASIO #
# --------------------- #
# Created by falkTX
#
VERSION = 1.2.0
PREFIX ?= /usr
all:
@echo "error: you must pass '32' or '64' as an argument to this Makefile in order to build WineASIO"
# ---------------------------------------------------------------------------------------------------------------------
32:
$(MAKE) build ARCH=i386 M=32
64:
$(MAKE) build ARCH=x86_64 M=64
# ---------------------------------------------------------------------------------------------------------------------
clean:
rm -f *.o *.so
rm -rf build32 build64
rm -rf gui/__pycache__
# ---------------------------------------------------------------------------------------------------------------------
tarball: clean
rm -f ../wineasio-$(VERSION).tar.gz
tar -c -z \
--exclude=".git*" \
--exclude=".travis*" \
--exclude=debian \
--exclude=prepare_64bit_asio.sh \
--exclude=rtaudio/cmake \
--exclude=rtaudio/contrib \
--exclude=rtaudio/doc \
--exclude=rtaudio/tests \
--exclude=rtaudio/"*.ac" \
--exclude=rtaudio/"*.am" \
--exclude=rtaudio/"*.in" \
--exclude=rtaudio/"*.sh" \
--exclude=rtaudio/"*.txt" \
--transform='s,^\.,wineasio-$(VERSION),' \
-f ../wineasio-$(VERSION).tar.gz .
# ---------------------------------------------------------------------------------------------------------------------
ifneq ($(ARCH),)
ifneq ($(M),)
include Makefile.mk
endif
endif
# ---------------------------------------------------------------------------------------------------------------------