1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
## Process this file with automake to produce Makefile.in
# added to make building the Debian package easier
# by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
AUTOMAKE_OPTIONS = 1.3 foreign
HCC = $(top_srcdir)/hcc/hcc
# hcc doesn't properly quote arguments passed to system, so we do it
# for it (in the relevant case)
HCCFLAGS = -compiler $(subst \",\\",$(CXXCOMPILE))
SUFFIXES = .hc .cc
SUBDIRS = hcc hcraft buttons html
# hack; actually, .o files are generated also
%.cc : %.hc
$(HCC) -c $(HCCFLAGS) $(<:.hc=)
# delete .err files if they are empyt
[ -e $(<:.hc=.err) ] && [ ! -s $(<:.hc=.err) ] && rm $(<:.hc=.err)
bin_PROGRAMS = craft
craft_SOURCES = \
building.cc \
buttons.cc \
cmap.cc \
cmap_edit.cc \
cmap_selector.cc \
compress.cc \
craft.cc \
cry.cc \
dial.cc \
dir.cc \
errorhandling.cc \
field.cc \
file_selector.cc \
getline.cc \
history.cc \
id_handler.cc \
ilfield.cc \
io.cc \
land.cc \
lru.cc \
masks.cc \
menu.cc \
multi_dial.cc \
object_handler.cc \
objects.cc \
option_menu.cc \
paramreader.cc \
pattern_match.cc \
pic.cc \
player.cc \
ppm.cc \
ppm_handler.cc \
robot.cc \
scroller.cc \
selector.cc \
setupedit.cc \
ship.cc \
table.cc \
win.cc \
xbm.cc \
xfile.cc \
xmath.cc \
xstring.cc \
xsystem.cc \
xtimer.cc \
color_trans.cc
CLEANFILES = $(craft_SOURCES) $(craft_SOURCES:.cc=.err)
windefaultsdir = $(pkgdatadir)
windefaults_DATA = .windefaults.params
|