Makefile revision 1.3
11.3Stakemura# $NetBSD: Makefile,v 1.3 2000/05/04 11:58:22 takemura Exp $ 21.1Scgd# 31.1Scgd# Makefile to generate windows VC++ project and workspace files from 41.1Scgd# config files and templates 51.1Scgd 61.1ScgdPROJECT_DIRS=libsa pbsdboot 71.1Scgd 81.1Scgdwinfiles: 91.1Scgd for dir in $(PROJECT_DIRS); do \ 101.1Scgd $$dir/$$dir.config; \ 111.1Scgd done 121.1Scgd sh dspgen/gen_workspace.sh hpcmips_stand.dsw $(PROJECT_DIRS) 131.2Scgd 141.2Scgd# remote transient build-related files globally and for each project: 151.2Scgd# * global 'class view' information (.ncb) 161.2Scgd# * Debug and Release compile dirs, 171.2Scgd# * .plg files (build logs), and 181.2Scgd# * .[0-9][0-9][0-9] files (old versions of auto-converted .dsp files). 191.2Scgd 201.2Scgdclean: 211.2Scgd rm -f hpcmips_stand.ncb 221.2Scgd for dir in $(PROJECT_DIRS); do \ 231.3Stakemura (cd $$dir && rm -rf WMIPSDbg wmipsdbg WMIPSRel wmipsrel); \ 241.2Scgd (cd $$dir && rm -f $$dir.plg $$dir.[0-9][0-9][0-9]); \ 251.2Scgd done 261.2Scgd 271.2Scgd# remove all files which windows is likely to have created, in addition 281.2Scgd# to transient build-related files: 291.2Scgd# * .opt workspace option file 301.2Scgd# * (probably automatic) updates to the .dsp and .dsw files, 311.2Scgd# which should be identical to the auto-generated versions when 321.2Scgd# clean. 331.2Scgd 341.2Scgddistclean cleandir: clean winfiles 351.2Scgd rm -f hpcmips_stand.opt 36