Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. all: door32 testdoor/testdoor testdoor/art.go space-ace/space-ace
  2. font-out: font-out.go
  3. go build font-out.go
  4. go build font-show.go door/tdfont.go
  5. door32: door32.c
  6. gcc -o door32 door32.c
  7. testdoor/fonts.go: font-out
  8. echo "package main\n\nimport \"red-green/door\"\n\n" > testdoor/fonts.go
  9. ./font-out -f "Amazon Cyan,Medieval,Anarchy Blue,Unchained,Asylum,ArmageonRed,BrainDmgBlu,Boner,Descent,Remorse,Dungeon" TDFONTS.TDF TDFONTS2.TDF TDFONTS9.TDF
  10. cat *_font.go >> testdoor/fonts.go
  11. rm *_font.go
  12. testdoor/art.go: testdoor/growl.ans
  13. ./ansi-to-go.py main testdoor/growl.ans > testdoor/art.go
  14. space-ace/space.go: space.ans
  15. ./ansi-to-go.py main space.ans > space-ace/space.go
  16. testdoor/testdoor: testdoor/art.go testdoor/fonts.go testdoor/*.go door/*.go
  17. cd testdoor; go build
  18. space-ace/space-ace: space-ace/*.go door/*.go space-ace/space.go
  19. cd space-ace; go build
  20. # ./font-out -f "Amazon Cyan,Medieval,Anarchy Blue" TDFONTS.TDF
  21. # ./font-out -f Unchained,Asylum,ArmageonRed,BrainDmgBlu TDFONTS2.TDF
  22. # ./font-out -f Boner,Descent,Remorse,Dungeon TDFONTS9.TDF