2b5066cd5893d4e971fafb0d8338eba897a161c9 kent Mon Apr 1 22:05:31 2013 -0700 Standalone meta hoister seems to work. diff --git src/meta/metaHoist/makefile src/meta/metaHoist/makefile new file mode 100644 index 0000000..9e45684 --- /dev/null +++ src/meta/metaHoist/makefile @@ -0,0 +1,22 @@ +include ../../inc/common.mk + +L += -lm +MYLIBDIR = ../../lib/${MACHTYPE} +MYLIBS = ${MYLIBDIR}/jkweb.a + +A = metaHoist +O = metaHoist.o + +metaHoist: ${O} ${MYLIBS} + ${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L + ${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE} + +compile:: ${O} + ${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L + +test:: + ${A} test.in test.out + diff expected.out test.out + +clean:: + rm -f ${A}${EXE} ${O}