SDL2-CS/Makefile

33 lines
604 B
Makefile
Raw Permalink Normal View History

2013-04-17 07:53:14 +02:00
# Makefile for SDL2#
# Written by Ethan "flibitijibibo" Lee
# Source Lists
2014-10-07 18:29:29 +02:00
SRC = \
2013-04-17 07:53:14 +02: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 07:53:14 +02: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 07:53:14 +02:00
rm -rf bin
all: debug release