diff --git a/sdlpp/Makefile b/sdlpp/Makefile index ffe1f70..786133f 100644 --- a/sdlpp/Makefile +++ b/sdlpp/Makefile @@ -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++ diff --git a/tetris/Makefile b/tetris/Makefile index eed71e6..f073fbf 100644 --- a/tetris/Makefile +++ b/tetris/Makefile @@ -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