.PHONY: clean all: mips_top.ngc PREQ := mips_top.prj mips_top.xst mips_top.lso DIRS := ./xst/tmp mips_top.ngc: $(DIRS) $(PREQ) xst -ifn mips_top.xst -intstyle xflow $(DIRS): mkdir -p $(DIRS) clean: rm -rf ./xst rm -rf ./xlnx_auto_0_xdb rm -f xlnx_auto_0.ise rm -f mips_top.ngc rm -f mips_top.ngr rm -f mips_top.srp rm -f mips_top_xst.xrpt