mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 16:37:30 +00:00
7713a539ca
class with the same name. This will break things. To support it, there are three new classes, one of which is incomplete (AutoreleasePool). It'll get finished soonish, but the rest of the class lib will need some updating to work.
46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
libdir=$(prefix)/lib/ruamoko
|
|
|
|
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 -I$(top_srcdir)/include
|
|
|
|
ruamoko_libs=libr.a libgui.a libcsqc.a
|
|
if BUILD_RUAMOKO
|
|
libs=$(ruamoko_libs)
|
|
else
|
|
libs=
|
|
endif
|
|
|
|
lib_LIBRARIES= $(libs)
|
|
EXTRA_LIBRARIES= $(ruamoko_libs)
|
|
|
|
%.qfo: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
%.o: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
libr_a_SOURCES=\
|
|
crudefile.r debug.r hash.r entities.r infokey.r math.r message.r \
|
|
nq_message.r physics.r plist.r qfile.r qw_message.r qw_physics.r qw_sys.r \
|
|
sound.r \
|
|
string.r system.r \
|
|
Object.r AutoreleasePool.r Array.r Entity.r List.r ListNode.r Point.r \
|
|
Rect.r Size.r Stack.r
|
|
libr_a_AR=$(PAK) -cf
|
|
|
|
libgui_a_SOURCES=\
|
|
draw.r InputLine.r key.r
|
|
libgui_a_AR=$(PAK) -cf
|
|
|
|
libcsqc_a_SOURCES= \
|
|
cbuf.r cmd.r cvar.r file.r gib.r
|
|
libcsqc_a_AR= $(PAK) -cf
|
|
|
|
CLEANFILES= *.qfo *.o
|