source: trunk/src/Makefile.am @ 162

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

Refactor editor to get the glarea object out of the main source file.

File size: 1.1 KB
Line 
1
2noinst_PROGRAMS = test-map editor
3
4noinst_LIBRARIES = libcommon.a
5
6libcommon_a_SOURCES = \
7    core.h matrix.h game.cpp game.h tiler.cpp tiler.h dict.cpp dict.h \
8    scene.cpp scene.h font.cpp font.h layer.cpp layer.h map.cpp map.h \
9    entity.cpp entity.h ticker.cpp ticker.h tileset.cpp tileset.h \
10    forge.cpp forge.h video.cpp video.h timer.cpp timer.h bitfield.h \
11    profiler.cpp profiler.h input.h input.cpp mapviewer.cpp mapviewer.h \
12    debugfps.cpp debugfps.h debugsprite.cpp debugsprite.h \
13    debugrecord.cpp debugrecord.h
14libcommon_a_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
15
16test_map_SOURCES = test-map.cpp sdlinput.cpp sdlinput.h
17test_map_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image`
18test_map_LDADD = libcommon.a
19test_map_LDFLAGS = `pkg-config --libs sdl gl SDL_image` -lpipi
20
21editor_SOURCES = gtk/editor.cpp gtk/glmapview.cpp gtk/glmapview.h
22editor_CXXFLAGS = `pkg-config --cflags sdl gl SDL_image gtk+-2.0 gtkgl-2.0`
23editor_LDADD = libcommon.a
24editor_LDFLAGS = `pkg-config --libs sdl gl gtk+-2.0 gtkgl-2.0 SDL_image`
25EXTRA_DIST = gtk/editor.xml
26
Note: See TracBrowser for help on using the repository browser.