quakeforge/ruamoko/lib/Makefile.am

31 lines
686 B
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
QCFLAGS=-qq -g -Werror
QCPPFLAGS=$(INCLUDES)
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
RANLIB=touch
INCLUDES= -I$(top_srcdir)/ruamoko/include
noinst_LIBRARIES= libr.a libgui.a
%.qfo: %.r
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -p $(STRIP) -c -o $@ $<
%.o: %.r
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -p $(STRIP) -c -o $@ $<
libr_a_SOURCES=\
crudefile.r debug.r entity.r infokey.r math.r message.r nq_message.r \
object.r physics.r qw_message.r qw_physics.r qw_sys.r sound.r \
string.r system.r
libr_a_AR=$(PAK) -cf
libgui_a_SOURCES=\
draw.r inputline.r point.r
libgui_a_AR=$(PAK) -cf
CLEANFILES = *.qfo