]> granicus.if.org Git - nethack/commit
tiles-related build stuff
authorPatR <rankin@nethack.org>
Sun, 3 May 2015 07:47:10 +0000 (00:47 -0700)
committerPatR <rankin@nethack.org>
Sun, 3 May 2015 07:47:10 +0000 (00:47 -0700)
commit23a671147f6aba3f4e00a04e73f71d8121dc128c
treed8b9d08a93ad089d2401ffa0626c90cab15853e1
parentbe60ad6676047b6de800332b0e17bd8de65c6167
tiles-related build stuff

* Add missing entry for include/tile.h to (top)/Files; also
  add new entry for generated file util/tiletxt.c (Unix only);
* Add several missing entries for tile utility programs that
  can be built by sys/unix/Makefile.utl to util/.gitignore;
* Update sys/unix/Makefile.utl to build 'tilemap' differently so
  that it won't leave behind an unwanted subdirectory tree under OSX:
    util/tilemap.dSYM/
    util/tilemap.dSYM/Contents/
    util/tilemap.dSYM/Contents/Info.plist
    util/tilemap.dSYM/Contents/Resources/
    util/tilemap.dSYM/Contents/Resources/DWARF/
    util/tilemap.dSYM/Contents/Resources/DWARF/tilemap
  It now generates util/tiletxt.c on the fly, to be compiled into
  tiletxt.o, so that tilemap.c can be compiled in the ordinary
  manner and tilemap.o can be kept around for dependency checking.
  (Creating real source file win/share/tiletxt.c would be a little
  bit cleaner, but it's effectively two lines long so seems silly
  to be in the source distribution.)  I looked to see whether I
  could find a linker or compiler option to suppress that stuff but
  failed.  I'm sure something of the sort must exist but didn't
  pursue it.  Someday I might actually learn about how OSX works....
Files
sys/unix/Makefile.utl
util/.gitignore