SDL2-CS/Makefile

33 lines
602 B
Makefile
Raw Normal View History

2013-04-17 05:53:14 +00:00
# Makefile for SDL2#
# Written by Ethan "flibitijibibo" Lee
# Source Lists
2014-10-07 16:29:29 +00:00
SRC = \
2013-04-17 05:53:14 +00:00
src/SDL2.cs \
src/SDL2_image.cs \
src/SDL2_mixer.cs \
src/SDL2_ttf.cs
# Targets
debug: clean-debug
mkdir -p bin/Debug
cp SDL2-CS.dll.config bin/Debug
2018-09-10 04:12:13 +00:00
mcs /unsafe -debug -out:bin/Debug/SDL2-CS.dll -target:library $(SRC)
2013-04-17 05:53:14 +00:00
clean-debug:
rm -rf bin/Debug
release: clean-release
mkdir -p bin/Release
cp SDL2-CS.dll.config bin/Release
2018-09-10 04:12:13 +00:00
mcs /unsafe -optimize -out:bin/Release/SDL2-CS.dll -target:library $(SRC)
clean-release:
rm -rf bin/Release
clean: clean-debug clean-release
2013-04-17 05:53:14 +00:00
rm -rf bin
all: debug release