diff options
author | Denis Kozadaev <denis@dilos.org> | 2020-03-28 17:45:12 +0300 |
---|---|---|
committer | Denis Kozadaev <denis@dilos.org> | 2020-03-28 17:45:12 +0300 |
commit | b93fd6da0b9fd56962db2ea64f98da30d5f93538 (patch) | |
tree | 9e20e7301f6d6ed7b45750718d6998a0d39e2ced /qnetchess/qt.FreeBSD.mk | |
parent | 62af0157e055222214ab132575e41f924e997ff1 (diff) | |
download | tdegames-qnetchess.tar.gz tdegames-qnetchess.zip |
Network Chess game for two playersqnetchess
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'qnetchess/qt.FreeBSD.mk')
-rw-r--r-- | qnetchess/qt.FreeBSD.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/qnetchess/qt.FreeBSD.mk b/qnetchess/qt.FreeBSD.mk new file mode 100644 index 00000000..f9c913bb --- /dev/null +++ b/qnetchess/qt.FreeBSD.mk @@ -0,0 +1,29 @@ +# $Id: qt.FreeBSD.mk,v 1.0 2004/11/05 10:22:11 denis Exp $ + +QTDIR= ${X11BASE} +MOC= ${QTDIR}/bin/moc +LUPDATE= ${QTDIR}/bin/lupdate +LRELEASE= ${QTDIR}/bin/lrelease + +PTHREAD_CFLAGS?= -pthread +PTHREAD_LIBS?= -pthread + +QTCFLAGS= ${QTDIR}/include -DQT_NO_COMPAT ${PTHREAD_CFLAGS} +QTLFLAGS= -L${QTDIR}/lib -lqt-mt ${PTHREAD_LIBS} + +CFLAGS+= -I${QTCFLAGS} +CXXFLAGS= ${CFLAGS} +LDADD+= ${QTLFLAGS} + +SRCMOC= ${MOCS:M*.h:R:S/$/.cxx/g} +OBJMOC= ${MOCS:M*.h:R:S/$/.mo/g} +OBJS+= ${OBJMOC} +CLEANFILES+= ${SRCMOC} + +.SUFFIXES: .h .cxx .mo + +.h.cxx: + ${MOC} ${.IMPSRC} -o ${.TARGET} + +.cxx.mo: + ${CXX} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET} |