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
|
||||
CXXFLAGS = -MD -EHsc /DDLLEXPORT
|
||||
OBJEXT = obj
|
||||
RM = del
|
||||
else
|
||||
UNAME_S := $(shell uname -s)
|
||||
CXX ?= g++
|
||||
|
@ -68,6 +68,11 @@ libsdlpp.dll: ../sdlpp
|
||||
cp ../sdlpp/libsdlpp.dll .
|
||||
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:
|
||||
LD_LIBRARY_PATH=$$(pwd) ./tetris
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user