]> git.zerfleddert.de Git - raggedstone/commitdiff
make clean makes really clean now
authormichael <michael>
Sat, 10 Mar 2007 21:27:01 +0000 (21:27 +0000)
committermichael <michael>
Sat, 10 Mar 2007 21:27:01 +0000 (21:27 +0000)
common/Makefile.common
dhwk/Makefile

index 534fe6d0240150e9eca4af3681f2fb7ab6e0a561..5d561564f179763d0ea929454eedd47c16b497f4 100644 (file)
@@ -10,6 +10,7 @@ INTSTYLE := silent
 SOURCES = $(wildcard sources/*.v source/*.vhd)
 PART ?= xc3s1500-fg456-4
 TARGET ?= bit
+CLEANFILES ?=
 
 ifdef DRIVER
 PRELOAD = LD_PRELOAD=$(DRIVER)
@@ -78,12 +79,12 @@ flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
        @rm xcf.batch.tmp
 
 clean:
-       @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd *.edn \
+       @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd *.edn *.ncf *.ngo \
                *.ngr *.pad *.par *.pcf *.prm *.syr *.twr *.twx *.xpi *.lso *.prm *.mcs _impact* \
-               *.vm6 *.jed *.gyd *.mfd *.pnx *.rpt *.err \
+               *.vm6 *.jed *.gyd *.mfd *.pnx *.rpt *.err *.log \
                $(PROJECT)_map.* $(PROJECT)_pad.* \
                _ngo xst  \
                build.log \
-               $(PROJECT).unroutes *.xml
+               $(PROJECT).unroutes *.xml $(CLEANFILES)
 
 .PHONY: all final burn load flash clean xst ngdbuild log
index 063973dd53deb443804456a229669d8da06a7437..703cce51897c2886a75e7d6a17d5f8714b86d998 100644 (file)
@@ -1,4 +1,5 @@
 PROJECT := dhwk
+CLEANFILES := fifo_generator_*.txt fifo_generator_*.vh? fifo_generator_*.tcl fifo_generator_*.pdf
 
 dhwk_all: ip all
 
Impressum, Datenschutz