Move tetris to its own dir
This commit is contained in:
@@ -8,8 +8,6 @@ default: demo
|
||||
|
||||
demo: main.o sdlpp.o
|
||||
$(CXX) $(CFLAGS) -o $@ $^ ${LDFLAGS}
|
||||
tetris: tetris.o sdlpp.o
|
||||
$(CXX) $(CFLAGS) -o $@ $^ ${LDFLAGS}
|
||||
test: test.o sdlpp.o
|
||||
$(CXX) $(CFLAGS) -o $@ $^ ${LDFLAGS}
|
||||
|
||||
@@ -19,8 +17,6 @@ sdlpp.o: sdlpp.cpp sdlpp.hpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
test.o: tests/test.cpp sdlpp.hpp tests/catch.hpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
tetris.o: tetris.cpp sdlpp.hpp
|
||||
$(CXX) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -Rf *.o test demo
|
||||
|
||||
Reference in New Issue
Block a user