mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-09 22:45:39 +00:00
Merge pull request #58 from nickgravelyn/master
Adding release build to Makefile
This commit is contained in:
commit
3ea9ae0ede
23
Makefile
23
Makefile
|
@ -93,10 +93,23 @@ MINITK = \
|
||||||
|
|
||||||
# Targets
|
# Targets
|
||||||
|
|
||||||
build: clean
|
debug: clean-debug
|
||||||
mkdir bin
|
mkdir -p bin/debug
|
||||||
cp SDL2-CS.dll.config bin
|
cp SDL2-CS.dll.config bin/debug
|
||||||
dmcs /unsafe -debug -out:bin/SDL2-CS.dll -target:library $(SDL2) $(MINITK) $(DEPS)
|
dmcs /unsafe -debug -out:bin/debug/SDL2-CS.dll -target:library $(SDL2) $(MINITK) $(DEPS)
|
||||||
|
|
||||||
clean:
|
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 $(SDL2) $(MINITK) $(DEPS)
|
||||||
|
|
||||||
|
clean-release:
|
||||||
|
rm -rf bin/release
|
||||||
|
|
||||||
|
clean: clean-debug clean-release
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
|
|
||||||
|
all: debug release
|
||||||
|
|
Loading…
Reference in a new issue