mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
bbaaaae81c
of qfcc. doesn't do much yet.
24 lines
412 B
Makefile
24 lines
412 B
Makefile
QFCC=qfcc
|
|
QCFLAGS=-qq -g -Werror
|
|
QCPPFLAGS=-I../include
|
|
|
|
libr_source = \
|
|
entity.r \
|
|
object.r
|
|
|
|
libr_obj = $(addsuffix .qfo,$(basename $(libr_source)))
|
|
libr_dep = $(addsuffix .d,$(basename $(libr_source)))
|
|
|
|
%.qfo: %.r
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
%.qfo: %.qc
|
|
$(QFCC) $(QCFLAGS) $(QCPPFLAGS) -c -o $@ $<
|
|
|
|
libr.pak: $(libr_obj)
|
|
pak -cf $@ $^
|
|
|
|
clean:
|
|
rm -f *.qfo *.pak *.d
|
|
|
|
-include $(libr_dep)
|