blob: d6d231d73fa6968e9115d1ce4c96fc423a78acfe [file] [log] [blame]
# Previous versions always remade because they always depended
# on soundscript. This runs fairly fast, and I can't find all the
# files to depend on anyways. So I'll force it to remake. dummy ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/ \
tkparse ${HEADER} ${TAIL}
@if [ -f /usr/local/bin/wish ]; then \
echo '#!'"/usr/local/bin/wish -f" >; \
else \
echo '#!'"/usr/bin/wish -f" >; \
cat ${HEADER} >> ./
./tkparse < ../arch/${ARCH}/ >>
echo "set defaults \"arch/${ARCH}/defconfig\"" >>
echo "set ARCH \"${ARCH}\"" >>
cat ${TAIL} >>
chmod 755
tkparse: tkparse.o tkcond.o tkgen.o
${HOSTCC} -o tkparse tkparse.o tkcond.o tkgen.o
tkparse.o: tkparse.c tkparse.h
tkcond.o: tkcond.c tkparse.h
tkgen.o: tkgen.c tkparse.h
tkparse.o tkcond.o tkgen.o:
$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c)
docproc.o: docproc.c
$(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c)
docproc: docproc.o
${HOSTCC} -o docproc docproc.o
rm -f *~ *.o tkparse mkdep split-include docproc
include $(TOPDIR)/Rules.make