use Makefile from test programs
[Chiptunes-pms150c.git] / Makefile
index c4bb50ef14ceafa8d03108900651d96fc390a5b5..8f2e1e7aab57edfa99eb41cbb940f51f9ab032aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,22 @@
-# NOTE: using pre-built sdcc-4.1.0-rc1 from sdcc.sf.net
-# NOTE: using homebuilt dispdk@670e7bc from github.com/free-pdk/fppa-pdk-tools
-.PHONY: all dis clean
+# NOTE: tested against sdcc-4.1.0-rc1, dispdk@670e7bc, easypdkprog-1.3
+
+.PHONY: all dis clean prog run
 all: bsv.ihx
-dis: bsv.ihx
-       ./bin/dispdk 2A16 $^
 
-bsv.rel: bsv.S
-       ./bin/sdaspdk13 -o $^
+bsv.rel: bsv.asm
+       sdaspdk13 -o $@ $^
 
 bsv.ihx: bsv.rel
-       ./bin/sdldpdk -i $^
+       sdldpdk -ni $@ $^
 
 clean:
        rm -f bsv.ihx bsv.rel
+
+dis: bsv.ihx
+       dispdk 2A16 $^
+
+prog: bsv.ihx
+       easypdkprog -nPMS150C --noblankchk write $^
+
+run:
+       easypdkprog -nPMS150C -r3.0 start
Imprint / Impressum