Changeset 18 for trunk/src/Makefile


Ignore:
Timestamp:
Jun 28, 2010, 12:25:25 AM (10 years ago)
Author:
sam
Message:

Move video initialisation stuff to a separate source file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r17 r18  
     1
     2SRC = test-map.cpp video.cpp
    13
    24all: test-map
    35
    4 test-map: test-map.cpp
    5         g++ -Wall -O3 $^ -o $@ `pkg-config --cflags --libs sdl gl SDL_image`
     6test-map: $(SRC:%.cpp=%.o)
     7        g++ -Wall -O3 $^ -o $@ `pkg-config --libs sdl gl SDL_image`
     8
     9%.o: %.cpp
     10        g++ -Wall -O3 -c $^ -o $@ `pkg-config --cflags sdl gl SDL_image`
    611
    712clean:
Note: See TracChangeset for help on using the changeset viewer.