quakeforge/ruamoko/gui/Makefile.am
Bill Currie c8163fc0de Add an option to prevent the use of default paths.
Despair has things locked down such that running qfcc during a build fails
due to lack of read access to /usr/local/lib. This is actually a good
thing as accidentally hitting old includes/libs (when a file gets deleted
in the tree) hides bugs. Thus, --no-default-paths to turn off default
search paths.
2012-01-04 13:53:04 +09:00

31 lines
663 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 --no-default-paths
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)
SUFFIXES= .qfo .r .qc
.r.o:
$(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