openbsd-ports/x11/qwt/files/Makefile.examples

21 lines
425 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile.examples,v 1.2 2010/11/07 00:26:13 merdely Exp $
EX_LIST= ${EXAMPLES}
all:
@for I in ${EX_LIST}; \
do (cd $$I; echo "==> Building for $$I"; \
qmake4 $$I.pro && env LOCALBASE=${LOCALBASE} gmake; \
echo "";); \
done
clean:
@for I in ${EX_LIST}; \
do (cd $$I; echo "==> Cleaning for $$I"; \
gmake distclean; \
rm -Rf obj; \
rm -Rf moc; \
echo "";); \
done