Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. cd font-show; go build
  5. door32: door32.c
  6. gcc -g -o door32d door32.c
  7. gcc -o door32 door32.c
  8. testdoor/fonts.go: font-out
  9. # echo "package main\n\nimport \"red-green/door\"\n\n" > testdoor/fonts.go
  10. # ./font-out -f "Amazon Cyan,Medieval,Anarchy Blue,Unchained,Asylum,ArmageonRed,BrainDmgBlu,Boner,Descent,Remorse,Dungeon" TDFONTS.TDF TDFONTS2.TDF TDFONTS9.TDF > testdoor/fonts.go
  11. ./font-out -f "Amazon Cyan,Medieval,Anarchy Blue,Unchained,Asylum,Armageddon,ArmageonRed,BrainDmgBlu,Boner,Descent,Remorse,Dungeon" TDFONTS.TDF TDFONTS2.TDF TDFONTS9.TDF > testdoor/fonts.go
  12. # cat *_font.go >> testdoor/fonts.go
  13. # rm *_font.go
  14. ansi-to-go/ansi-to-go: ansi-to-go/ansi-to-go.go
  15. cd ansi-to-go; go build
  16. testdoor/art.go: testdoor/growl.ans ansi-to-go/ansi-to-go
  17. ./ansi-to-go/ansi-to-go testdoor/growl.ans > testdoor/art.go
  18. space-ace/space.go: space.ans
  19. ./ansi-to-go.py main space.ans > space-ace/space.go
  20. testdoor/testdoor: testdoor/art.go testdoor/fonts.go testdoor/*.go door/*.go
  21. cd testdoor; go build
  22. space-ace/space-ace: space-ace/*.go door/*.go space-ace/space.go
  23. cd space-ace; go build -ldflags="-extldflags=-static" -tags sqlite_omit_load_extension
  24. # ./font-out -f "Amazon Cyan,Medieval,Anarchy Blue" TDFONTS.TDF
  25. # ./font-out -f Unchained,Asylum,ArmageonRed,BrainDmgBlu TDFONTS2.TDF
  26. # ./font-out -f Boner,Descent,Remorse,Dungeon TDFONTS9.TDF