1XCOMM =====================================================================
2XCOMM   Imakefile - xmemory v3.6 - Helmut.Hoenig@hub.de - July 3, 1996
3XCOMM =====================================================================
4
5XCOMM Default font pattern to be used when creating letter or smiley tiles
6
7       FONT_DEFAULT = \"-bitstream-bitstream\ charter-bold-r-*\"
8
9XCOMM where to search for data-files, when not found in current dir
10
11         XMEMORYDIR = \"${DATADIR}/xmemory\"
12
13XCOMM set the compiler that you like,
14XCOMM gcc should suit, since the libraries are not needed.
15
16                CXX ?= c++
17
18XCOMM #######################################################################
19
20               SRCS = board.C color.C font.C port.C tile.C xmemory.C \
21                      gif_image.C color_mapper.C mem_image.C
22
23    LOCAL_LIBRARIES = $(XLIB)
24
25               OBJS = board.o color.o font.o port.o tile.o xmemory.o \
26                      gif_image.o color_mapper.o mem_image.o
27
28xmemory: $(OBJS) $(DEPLIBS)
29	$(RM) $@
30	$(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
31
32ComplexCplusplusProgramTarget(xmemory)
33DependTarget()
34CleanTarget()
35
36
37xmemory.o:
38	$(CXX) $(CXXFLAGS) -DDATA_DIRECTORY=$(XMEMORYDIR) -DFONT_DEFAULT=$(FONT_DEFAULT) -c xmemory.C -o $@
39
40.C.o:
41	$(CXX) $(CXXFLAGS) -c $< -o $@
42