mirror of https://github.com/YosysHQ/icestorm.git
[examples] Added sudo prog target to prevent compiling the code as root. And made make clean more conservative.
This commit is contained in:
parent
3ea5dbeb5c
commit
3975b0abbc
|
|
@ -16,7 +16,11 @@ all: $(PROJ).bin
|
|||
prog: $(PROJ).bin
|
||||
iceprog $<
|
||||
|
||||
sudo-prog: $(PROJ).bin
|
||||
@echo 'Executing prog as root!!!'
|
||||
sudo iceprog $<
|
||||
|
||||
clean:
|
||||
rm -f *.blif *.txt *.bin
|
||||
rm -f $(PROJ).blif $(PROJ).txt $(PROJ).bin
|
||||
|
||||
.PHONY: all prog clean
|
||||
|
|
|
|||
|
|
@ -16,7 +16,11 @@ all: $(PROJ).bin
|
|||
prog: $(PROJ).bin
|
||||
iceprog $<
|
||||
|
||||
sudo-prog: $(PROJ).bin
|
||||
@echo 'Executing prog as root!!!'
|
||||
iceprog $<
|
||||
|
||||
clean:
|
||||
rm -f *.blif *.txt *.bin
|
||||
rm -f $(PROJ).blif $(PROJ).txt $(PROJ).bin
|
||||
|
||||
.PHONY: all prog clean
|
||||
|
|
|
|||
Loading…
Reference in New Issue