xc3sprog $(PROJECT).bit
 
 load: $(PROJECT).bit
-       @sed -e "s|%CABLE%|$(CABLE)|g" xc3s1500.batch >xc3s1500.batch.tmp.$$
-       impact -batch xc3s1500.batch.tmp.$$
-       @rm xc3s1500.batch.tmp.$$
+       @sed -e "s|%CABLE%|$(CABLE)|g" xc3s1500.batch >xc3s1500.batch.tmp
+       impact -batch xc3s1500.batch.tmp
+       @rm xc3s1500.batch.tmp
 
 flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
-       @sed -e "s|%CABLE%|$(CABLE)|g" xcf.batch >xcf.batch.tmp.$$
-       impact -batch xcf.batch.tmp.$$
-       @rm xcf.batch.tmp.$$
+       @sed -e "s|%CABLE%|$(CABLE)|g" xcf.batch >xcf.batch.tmp
+       impact -batch xcf.batch.tmp
+       @rm xcf.batch.tmp
 
 clean:
        @rm -rf *.bit *.bgn *.mcs *.prm *.bld *.drc *.mcs *.ncd *.ngc *.ngd \