Changeset 38 for trunk/src/Makefile


Ignore:
Timestamp:
Jul 4, 2010, 12:27:40 AM (11 years ago)
Author:
sam
Message:

Dynamically allocate layers when loading maps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r22 r38  
    11
    2 SRC = test-map.cpp video.cpp tiler.cpp
     2SRC = test-map.cpp video.cpp tiler.cpp layer.cpp map.cpp
    33
    44all: test-map
    55
    66test-map: $(SRC:%.cpp=%.o)
    7         g++ -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
     7        g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
    88
    99%.o: %.cpp
    10         g++ -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image`
     10        g++ -g -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image`
    1111
    1212clean:
Note: See TracChangeset for help on using the changeset viewer.