add install target

This commit is contained in:
Bill Currie 2003-07-28 17:38:19 +00:00
parent c86b0d359f
commit abded114cf

View file

@ -2,6 +2,7 @@ QFCC=qfcc
#QCFLAGS=-z -qq -g -Werror #QCFLAGS=-z -qq -g -Werror
QCFLAGS=-qq -g -Werror QCFLAGS=-qq -g -Werror
QCPPFLAGS= QCPPFLAGS=
prefix=/usr/local
libfrikbot_source = \ libfrikbot_source = \
bot_ai.qc \ bot_ai.qc \
@ -40,4 +41,8 @@ clean:
rm -f *.o *.qfo *.a *.d rm -f *.o *.qfo *.a *.d
rm -rf .deps rm -rf .deps
install: libfrikbot.a
cp frikbot.h $(prefix)/include/QF/ruamoko
cp libfrikbot.a $(prefix)/lib/ruamoko
-include $(libfrikbot_dep) -include $(libfrikbot_dep)