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