TETRIS: Add windows_release target to Makefile
This commit is contained in:
parent
ba1e2a2dc5
commit
392bc4f203
@ -7,6 +7,7 @@ UNAME_S := Windows
|
|||||||
CXX = cl
|
CXX = cl
|
||||||
CXXFLAGS = -MD -EHsc /DDLLEXPORT
|
CXXFLAGS = -MD -EHsc /DDLLEXPORT
|
||||||
OBJEXT = obj
|
OBJEXT = obj
|
||||||
|
RM = del
|
||||||
else
|
else
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
|
@ -68,6 +68,11 @@ libsdlpp.dll: ../sdlpp
|
|||||||
cp ../sdlpp/libsdlpp.dll .
|
cp ../sdlpp/libsdlpp.dll .
|
||||||
cp ../sdlpp/libsdlpp.lib .
|
cp ../sdlpp/libsdlpp.lib .
|
||||||
|
|
||||||
|
windows_release: ../Release/Tetris
|
||||||
|
cp tetris.exe testfont.ttf libsdlpp.dll block.png ../Release/Tetris
|
||||||
|
rm ../Release/Tetris.zip
|
||||||
|
cd ../Release && zip -r Tetris.zip Tetris
|
||||||
|
|
||||||
start:
|
start:
|
||||||
LD_LIBRARY_PATH=$$(pwd) ./tetris
|
LD_LIBRARY_PATH=$$(pwd) ./tetris
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user