mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +00:00
33 lines
682 B
Makefile
33 lines
682 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
pkglibdir=$(libdir)/qfcc/lib
|
|
|
|
QFCC=$(top_builddir)/tools/qfcc/source/qfcc$(EXEEXT)
|
|
QCFLAGS=-qq -g -Werror -Wall -Wno-integer-divide
|
|
QCPPFLAGS=$(INCLUDES)
|
|
PAK=$(top_builddir)/tools/pak/pak$(EXEEXT)
|
|
RANLIB=touch
|
|
|
|
INCLUDES= -I$(top_srcdir)/ruamoko/include -I$(top_srcdir)/include
|
|
|
|
gui_libs=libgui.a
|
|
if BUILD_RUAMOKO
|
|
libs=$(gui_libs)
|
|
else
|
|
libs=
|
|
endif
|
|
|
|
pkglib_LIBRARIES= $(libs)
|
|
EXTRA_LIBRARIES= $(gui_libs)
|
|
|
|
%.qfo: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
%.o: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
libgui_a_SOURCES= \
|
|
Group.r InputLine.r Pic.r Point.r Rect.r Size.r Slider.r Text.r View.r
|
|
libgui_a_AR= $(PAK) -cf
|
|
|
|
CLEANFILES= *.qfo *.o
|