SDL2-CS/Makefile

34 строки
633 B
Makefile
Исходник Обычный вид История

2013-04-17 09:53:14 +04:00
# Makefile for SDL2#
# Written by Ethan "flibitijibibo" Lee
# Source Lists
2014-10-07 20:29:29 +04:00
SRC = \
2013-07-13 22:21:00 +04:00
src/LPUtf8StrMarshaler.cs \
2013-04-17 09:53:14 +04: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
dmcs /unsafe -debug -out:bin/Debug/SDL2-CS.dll -target:library $(SRC)
2013-04-17 09:53:14 +04:00
clean-debug:
rm -rf bin/Debug
release: clean-release
mkdir -p bin/Release
cp SDL2-CS.dll.config bin/Release
dmcs /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 09:53:14 +04:00
rm -rf bin
all: debug release