source: trunk/src/Makefile @ 74

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

Support CSV .tmx files to get rid of that pathetic system() call.

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