source: trunk/src/Makefile @ 79

Last change on this file since 79 was 79, checked in by sam, 10 years ago

Rendering starts to work again. There is no Z-sorting yet.

File size: 314 bytes
Line 
1
2SRC = test-map.cpp \
3      game.cpp video.cpp tiler.cpp tileset.cpp scene.cpp layer.cpp map.cpp
4
5all: test-map
6
7test-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
13clean:
14        rm -f *.o test-map
15
Note: See TracBrowser for help on using the repository browser.