quakeforge/libs/video/renderer/vulkan/Makefile.am

26 lines
547 B
Text
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
AM_CFLAGS= @PREFER_PIC@
AM_CPPFLAGS= -I$(top_srcdir)/include -DVK_NO_PROTOTYPES
vulkan_src = \
init.c \
vulkan_draw.c \
vulkan_vid_common.c
noinst_LTLIBRARIES= libvulkan.la
BUILT_SOURCES= $(shader_gen)
SUFFICES=.frag .vert .fc .vc .slc .glsl
.glsl.slc:
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
.frag.fc:
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
.vert.vc:
sed -e 's/^/"/' -e 's/$$/\\n"/' $< > $@
libvulkan_la_SOURCES= $(vulkan_src)
EXTRA_DIST = $(vulkan_src) $(shader_src) namehack.h
CLEANFILES= *.vc *.fc *.slc