Makefile: add windows tetris target
This commit is contained in:
parent
9ef82a9d8e
commit
896b5d131f
3
Makefile
3
Makefile
@ -18,5 +18,8 @@ sdlpp.o: sdlpp.cpp sdlpp.hpp
|
|||||||
test.o: tests/test.cpp sdlpp.hpp tests/catch.hpp
|
test.o: tests/test.cpp sdlpp.hpp tests/catch.hpp
|
||||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
windows_tetris: sdlpp.hpp sdlpp.cpp tetris/tetris.cpp tetris/config.cpp tetris/global_vars.cpp tetris/scenes.cpp tetris/functions.cpp tetris/config.hpp tetris/global_vars.hpp tetris/scenes.hpp tetris/functions.hpp
|
||||||
|
cl -MD -EHsc -Fe"Tetris" sdlpp.cpp tetris/tetris.cpp tetris/config.cpp tetris/global_vars.cpp tetris/scenes.cpp tetris/functions.cpp SDL2/SDL2_framerate.c SDL2/SDL2_gfxPrimitives.c SDL2/SDL2_imageFilter.c SDL2/SDL2_rotozoom.c /link SDL2.lib SDL2_ttf.lib SDL2_image.lib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -Rf *.o test demo
|
rm -Rf *.o test demo
|
||||||
|
Loading…
Reference in New Issue
Block a user