Last change
on this file since 75 was
75,
checked in by sam, 11 years ago
|
Much better resource allocation and release. Scene manager stub.
|
File size:
297 bytes
|
Rev | Line | |
---|
[14] | 1 | |
---|
[75] | 2 | SRC = test-map.cpp video.cpp tiler.cpp tileset.cpp scene.cpp layer.cpp map.cpp |
---|
[18] | 3 | |
---|
[14] | 4 | all: test-map |
---|
| 5 | |
---|
[18] | 6 | test-map: $(SRC:%.cpp=%.o) |
---|
[38] | 7 | g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image` |
---|
[14] | 8 | |
---|
[18] | 9 | %.o: %.cpp |
---|
[38] | 10 | g++ -g -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image` |
---|
[18] | 11 | |
---|
[17] | 12 | clean: |
---|
[20] | 13 | rm -f *.o test-map |
---|
[17] | 14 | |
---|
Note: See
TracBrowser
for help on using the repository browser.