1 # XWelltris - a tetris like game
3 # Copyright (C) 2002 by Leo Khramov
4 # email: leo@xnc.dubna.su
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License 2 for more details.
22 $(CC
) -c
$(CXXINCLUDES
) $(INCLUDES
) $(CXXOPT
) $< -o
$@
29 image
/sublib
/SDL_error.o \
30 image
/sublib
/SDL_rwops.o \
31 image
/sublib
/SDL_surface.o \
32 image
/sublib
/SDL_to_picinfo.o \
33 image
/sublib
/IMG_gif.o \
43 sdl
/sdl_gfxprimitives.o \
45 sdl
/sdlwellimagefont.o \
67 CXXINCLUDES
=$(IFACEINC
)
68 CXXOPT
=$(DEFS
) $(DEB
) $(CFLAGS
)
69 LOCAL_LIBRARIES
=$(IFACELIBS
) $(LIBS
)
75 image
/sublib
/SDL_error.o
: image
/sublib
/SDL_error.c
76 cd image
&& make sublib
/SDL_error.o
78 image
/sublib
/SDL_surface.o
: image
/sublib
/SDL_surface.c
79 cd image
&& make sublib
/SDL_surface.o
81 image
/sublib
/SDL_rwops.o
: image
/sublib
/SDL_rwops.c
82 cd image
&& make sublib
/SDL_rwops.o
84 image
/sublib
/SDL_to_picinfo.o
: image
/sublib
/SDL_to_picinfo.c
85 cd image
&& make sublib
/SDL_to_picinfo.o
87 image
/sublib
/IMG_gif.o
: image
/sublib
/IMG_gif.c
88 cd image
&& make sublib
/IMG_gif.o
90 image
/accel.o
: image
/accel.c
91 cd image
&& make accel.o
93 image
/image.o
: image
/image.
cxx
94 cd image
&& make image.o
96 image
/convert.o
: image
/convert.
cxx
97 cd image
&& make convert.o
104 $(CXX
) -o
$@
$(OBJS
) $(DEB
) $(STRIPPING
) $(CFLAGS
) $(LDFLAGS
) $(LOCAL_LIBRARIES
)
107 $(CC
) -c
$< $(CXXOPT
) $(CXXINCLUDES
) $(INCLUDES
) $(CPPFLAGS
)
112 (cd image
&& make
clean)
115 etags
*.
cxx x11
/*.
cxx sdl
/*.
cxx include/*.h