source: trunk/src/Makefile @ 22

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

Create a tile manager. There are no longer any GL calls in test-map.cpp or
in public headers. Good cleanup.

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