-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 652 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 652 Bytes
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
# Makefile for OpenAL#
# Written by Ethan "flibitijibibo" Lee
# Source Lists
SRC = \
src/ALC10.cs \
src/ALC11.cs \
src/AL10.cs \
src/AL11.cs \
src/ALEXT.cs \
src/EFX.cs
# Targets
debug: clean-debug
mkdir -p bin/Debug
cp app.config bin/Debug/OpenAL-CS.dll.config
dmcs /unsafe -debug -out:bin/Debug/OpenAL-CS.dll -target:library $(SRC)
clean-debug:
rm -rf bin/Debug
release: clean-release
mkdir -p bin/Release
cp app.config bin/Release/OpenAL-CS.dll.config
dmcs /unsafe -optimize -out:bin/Release/OpenAL-CS.dll -target:library $(SRC)
clean-release:
rm -rf bin/Release
clean: clean-debug clean-release
rm -rf bin
all: debug release