mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
601cc6e3d1
Still nothing being rendered: still in the process of building the display lists, but I'm making good progress. Get this into git before something goes wrong :)
34 lines
807 B
Makefile
34 lines
807 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include $(GLX_CFLAGS)
|
|
|
|
shader_src= \
|
|
quake2d.frag quakeico.vert quakemdl.frag quakemdl.vert quakespr.frag \
|
|
quakespr.vert quaketxt.vert
|
|
shader_gen= \
|
|
quake2d.fc quakeico.vc quakemdl.fc quakemdl.vc quakespr.fc quakespr.vc \
|
|
quaketxt.vc
|
|
|
|
glsl_src = \
|
|
glsl_alias.c glsl_bsp.c glsl_draw.c glsl_lightmap.c glsl_main.c \
|
|
glsl_particles.c glsl_screen.c glsl_sprite.c glsl_textures.c
|
|
|
|
if BUILD_GLSL
|
|
noinst_LTLIBRARIES= libglsl.la
|
|
BUILT_SOURCES= $(shader_gen)
|
|
else
|
|
noinst_LTLIBRARIES=
|
|
BUILT_SOURCES=
|
|
endif
|
|
|
|
SUFFICES=.frag .vert .fc .vc
|
|
.frag.fc:
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
.vert.vc:
|
|
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
|
|
|
|
libglsl_la_SOURCES= $(glsl_src)
|
|
|
|
EXTRA_DIST = $(glsl_src) $(shader_src)
|
|
CLEANFILES= *.vc *.fc
|