Last change
on this file since 79 was
79,
checked in by sam, 11 years ago
|
Rendering starts to work again. There is no Z-sorting yet.
|
File size:
314 bytes
|
Line | |
---|
1 | |
---|
2 | SRC = test-map.cpp \ |
---|
3 | game.cpp video.cpp tiler.cpp tileset.cpp scene.cpp layer.cpp map.cpp |
---|
4 | |
---|
5 | all: test-map |
---|
6 | |
---|
7 | test-map: $(SRC:%.cpp=%.o) |
---|
8 | g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image` |
---|
9 | |
---|
10 | %.o: %.cpp |
---|
11 | g++ -g -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image` |
---|
12 | |
---|
13 | clean: |
---|
14 | rm -f *.o test-map |
---|
15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.