Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old January 30, 2019, 21:37   #1
t4nk
Swordsman
 
Join Date: May 2016
Posts: 330
t4nk is on a distinguished road
Makefiles

So, Nick wanted a working Makefile.std...

First, what to do with autoconf.h? Is this the only header autoconf produces? I think a makefile shouldn't require autoconf.h (otherwise, why even bother). Presumably, all these macros (DEFAULT_CONFIG_PATH, HAVE_DIRENT_H, etc) should be defined in the makefile?

Second, "make depgen" is a pretty old school way to calculate dependencies, how about a more automated way? I used a pretty fancy (IMO ) method for textui2 (https://github.com/takkaria/angband/...kefile.dep.ui2). I don't think it can break Makefile.osx and Makefile.win (if I change it to work only on BASEOBJS, like Makefile.inc does), but it might be just too fancy/obscure. Another option is to just copy "depend" stuff from buildsys.mk.
Anyway, I have never seen this method used by anyone else, so wanted to brag

Third - just curious - does Makefile.nmake even work? I think it shouldn't, we've already determined Angband can't be compiled with MSVC++. Curious about Makefile.nds too. At least this one looks like it might work...

So i guess I'm asking about autoconf.h... Is it the only thing that makes angband's binary dependent on configure?
t4nk is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which main-xxx's and makefiles can I test with Cygwin or MinGW? nppangband Development 2 August 23, 2010 10:43
Windows Compiling and Makefiles APWhite Vanilla 11 August 22, 2007 22:22


All times are GMT +1. The time now is 07:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.