mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
4606c6c63a
matters (eg, selecting whether to build the gl and or sw specific model code)
30 lines
985 B
Makefile
30 lines
985 B
Makefile
SUBDIRS= alias brush sprite
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
if BUILD_GL
|
|
MODELS_GL = libQFmodels_gl.la
|
|
else
|
|
MODELS_GL =
|
|
endif
|
|
|
|
if BUILD_SW
|
|
MODELS_SW = libQFmodels_sw.la
|
|
else
|
|
MODELS_SW =
|
|
endif
|
|
|
|
lib_LTLIBRARIES = libQFmodels.la $(MODELS_GL) $(MODELS_SW)
|
|
|
|
libQFmodels_la_LDFLAGS = -version-info 1:0:0 brush/model_brush.lo
|
|
libQFmodels_la_SOURCES = model.c
|
|
libQFmodels_la_DEPENDENCIES = brush/model_brush.lo
|
|
|
|
libQFmodels_gl_la_LDFLAGS = -version-info 1:0:0 alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
|
libQFmodels_gl_la_SOURCES = model.c gl_model_fullbright.c
|
|
libQFmodels_gl_la_DEPENDENCIES = alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
|
|
|
libQFmodels_sw_la_LDFLAGS = -version-info 1:0:0 alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
|
libQFmodels_sw_la_SOURCES = model.c
|
|
libQFmodels_sw_la_DEPENDENCIES = alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
|
|
|
LIBLIST = libQFmodels.la libQFmodels_gl.la libQFmodels_sw.la
|