diff --git a/projects/mips_sys/ise101/mips_sys/Makefile b/projects/mips_sys/ise101/mips_sys/Makefile index 5820076..4e06c77 100644 --- a/projects/mips_sys/ise101/mips_sys/Makefile +++ b/projects/mips_sys/ise101/mips_sys/Makefile @@ -3,7 +3,7 @@ all: netlist PRJ := mips_sys -PREQ := $(PRJ).prj $(PRJ).xst $(PRJ).lso +PREQ := ./project/$(PRJ).prj ./project/$(PRJ).xst ./project/$(PRJ).lso DEVICE := "xc4vsx35-ff668-10" DIRS := ./xst/tmp @@ -15,11 +15,11 @@ bitfile: $(PRJ).bit # Netlist $(PRJ).ngc: $(DIRS) $(PREQ) - xst -intstyle xflow -ifn $(PRJ).xst + xst -intstyle xflow -ifn ./project/$(PRJ).xst # Translate -$(PRJ).ngd: $(PRJ).ngc ./ucf/$(PRJ).ucf - ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./ucf/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd +$(PRJ).ngd: $(PRJ).ngc ./project/$(PRJ).ucf + ngdbuild -p $(DEVICE) -sd "../../../../lib/CPUs/MIPS/syn/ise101" -dd _ngo -nt timestamp -uc ./project/$(PRJ).ucf $(PRJ).ngc $(PRJ).ngd # Map $(PRJ)_map.ncd: $(PRJ).ngd @@ -40,10 +40,7 @@ clean: rm -rf ./xst rm -rf ./xlnx_auto_0_xdb rm -f xlnx_auto_0.ise - rm -f $(PRJ).ngc - rm -f $(PRJ).ngr - rm -f $(PRJ).srp - rm -f $(PRJ)_xst.xrpt + rm -f $(PRJ)*.*