2002-08-15 19:08:44 +00:00
|
|
|
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
|
|
|
|
|
2002-08-18 00:30:07 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
2002-08-15 19:08:44 +00:00
|
|
|
|
2002-08-16 20:15:10 +00:00
|
|
|
noinst_LIBRARIES= libr.a libgui.a libcsqc.a
|
2002-08-15 19:08:44 +00:00
|
|
|
|
|
|
|
%.qfo: %.r
|
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -p $(STRIP) -c -o $@ $<
|
|
|
|
|
|
|
|
%.o: %.r
|
|
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -p $(STRIP) -c -o $@ $<
|
|
|
|
|
|
|
|
libr_a_SOURCES=\
|
2002-08-17 05:27:34 +00:00
|
|
|
crudefile.r debug.r entities.r infokey.r math.r message.r nq_message.r \
|
|
|
|
physics.r qw_message.r qw_physics.r qw_sys.r sound.r string.r system.r \
|
2002-08-17 06:47:03 +00:00
|
|
|
Object.r Entity.r Point.r Size.r Rect.r
|
2002-08-15 19:08:44 +00:00
|
|
|
libr_a_AR=$(PAK) -cf
|
|
|
|
|
2002-08-15 21:00:51 +00:00
|
|
|
libgui_a_SOURCES=\
|
2002-08-17 06:47:03 +00:00
|
|
|
draw.r InputLine.r key.r
|
2002-08-15 21:00:51 +00:00
|
|
|
libgui_a_AR=$(PAK) -cf
|
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
libcsqc_a_SOURCES= \
|
|
|
|
cbuf.r cmd.r cvar.r file.r
|
|
|
|
libcsqc_a_AR= $(PAK) -cf
|
2002-08-16 20:15:10 +00:00
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
CLEANFILES= *.qfo
|