Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2001/02/09 18:34:04 uch Exp $ 2# 3 4PROJECT_DIRS = hpcboot libz libsa 5MAKE = make 6 7all: 8 find binary -name hpcboot.exe.uu -exec uudecode {} \; 9 10# 11# generates project/work files for Embeded Visual C++ 3.0 12# 13evc3: 14 cd dspgen && ${MAKE} evc3 || exit 1; 15 for d in ${PROJECT_DIRS}; do \ 16 sh dspgen/config.sh evc3 $$d; \ 17 done 18 sh dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS) 19 cd dspgen && ${MAKE} clean; 20# 21# generates project/work files for Visual C++ 6.0 + Windows CE tool kit. 22# 23vc6: 24 cd dspgen && ${MAKE} vc6 || exit 1; 25 for d in ${PROJECT_DIRS}; do \ 26 sh dspgen/config.sh vc6 $$d; \ 27 done 28 cd dspgen && ${MAKE} clean; 29 sh dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS) 30 31clean: 32# evc3 33 rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco 34 find . -name "*.vcp" -print |xargs rm -f 35 rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW 36 rm -f hpcboot/HPCBOOT.vcb 37# vc6 38 find . -name "*.dsp" -print |xargs rm -f 39 rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt 40 rm -f hpcboot/hpcboot.plg 41# 42 rm -rf compile/* 43 find . -name "hpcboot.exe" -print |xargs rm -f 44 45distclean: clean 46 find binary -name hpcboot.exe* -print | xargs rm -f; 47 48install: 49 for a in SH3 ARM MIPS; do \ 50 file=`echo "compile/"$$a"Release/hpcboot.exe"`; \ 51 cp $$file binary/$$a/hpcboot.exe; \ 52 done 53uuencode: 54 find binary -name hpcboot.exe -print | \ 55 awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh 56 57 58 59