summaryrefslogtreecommitdiffstats
path: root/lab4/build/digilentprog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lab4/build/digilentprog.mk')
-rw-r--r--lab4/build/digilentprog.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/lab4/build/digilentprog.mk b/lab4/build/digilentprog.mk
new file mode 100644
index 0000000..8f55a5e
--- /dev/null
+++ b/lab4/build/digilentprog.mk
@@ -0,0 +1,6 @@
+
+PROG:
+ djtgcfg prog -i 0 -d Nexys3 -f $(PROJNAME)-synthdir/layoutdefault/design.bit
+
+%.prog:
+ $(NICE) $(MAKE) -f Makefile PROG PROJNAME="$*"