source: trunk/src/Makefile @ 87

Last change on this file since 87 was 87, checked in by sam, 11 years ago

Naive font renderer prototype.

File size: 331 bytes
Line 
1
2SRC = test-map.cpp \
3      game.cpp video.cpp tiler.cpp tileset.cpp scene.cpp \
4      font.cpp layer.cpp map.cpp
5
6all: test-map
7
8test-map: $(SRC:%.cpp=%.o)
9        g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
10
11%.o: %.cpp
12        g++ -g -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image`
13
14clean:
15        rm -f *.o test-map
16
Note: See TracBrowser for help on using the repository browser.