summaryrefslogtreecommitdiffstats
path: root/lab3/build/digilentprog.mk
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2022-02-14 17:18:38 +0100
committerGustav Sörnäs <gustav@sornas.net>2022-02-14 17:18:38 +0100
commit82197955991947fe0872712460bb988b6c2d0ef9 (patch)
tree3c91727a7ac088b197290fbf8486aba77ce8a9cf /lab3/build/digilentprog.mk
parent1ba036ef511af46a19fe81823b6e66bb4e98c45c (diff)
downloadtsea83-82197955991947fe0872712460bb988b6c2d0ef9.tar.gz
add rest of lab3
Diffstat (limited to 'lab3/build/digilentprog.mk')
-rwxr-xr-xlab3/build/digilentprog.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/lab3/build/digilentprog.mk b/lab3/build/digilentprog.mk
new file mode 100755
index 0000000..8f55a5e
--- /dev/null
+++ b/lab3/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="$*"