TETRIS: lines

This commit is contained in:
2020-09-11 14:24:54 +02:00
parent c7f5e834bb
commit c7f3e7c741
3 changed files with 206 additions and 19 deletions
+4 -4
View File
@@ -14,13 +14,13 @@ test: test.o sdlpp.o
$(CXX) $(CFLAGS) -o $@ $^ ${LDFLAGS}
main.o: main.cpp sdlpp.hpp
$(CXX) $(CFLAGS) -c -o $@ $< ${LDFLAGS}
$(CXX) $(CFLAGS) -c -o $@ $<
sdlpp.o: sdlpp.cpp sdlpp.hpp
$(CXX) $(CFLAGS) -c -o $@ $< ${LDFLAGS}
$(CXX) $(CFLAGS) -c -o $@ $<
test.o: tests/test.cpp sdlpp.hpp tests/catch.hpp
$(CXX) $(CFLAGS) -c -o $@ $< ${LDFLAGS}
$(CXX) $(CFLAGS) -c -o $@ $<
tetris.o: tetris.cpp sdlpp.hpp
$(CXX) $(CFLAGS) -c -o $@ $< ${LDFLAGS}
$(CXX) $(CFLAGS) -c -o $@ $<
clean:
rm -Rf *.o test demo