Changeset 90 for trunk/src/Makefile


Ignore:
Timestamp:
Aug 11, 2010, 5:39:36 PM (11 years ago)
Author:
sam
Message:

Change the Video class into an interface, implemented by SdlVideo and,
soon, GtkVideo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r87 r90  
    11
    2 SRC = test-map.cpp \
    3       game.cpp video.cpp tiler.cpp tileset.cpp scene.cpp \
    4       font.cpp layer.cpp map.cpp
     2COMMON = test-map.cpp \
     3      game.cpp tiler.cpp tileset.cpp scene.cpp \
     4      font.cpp layer.cpp map.cpp joystick.cpp
     5TEST_SRC = test-map.cpp sdlvideo.cpp $(COMMON)
     6EDITOR_SRC = editor.cpp gtkvideo.cpp $(COMMON)
    57
    68all: test-map
    79
    8 test-map: $(SRC:%.cpp=%.o)
     10test-map: $(TEST_SRC:%.cpp=%.o)
     11        g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
     12
     13editor-map: $(EDITOR_SRC:%.cpp=%.o)
    914        g++ -g -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
    1015
Note: See TracChangeset for help on using the changeset viewer.