Commit graph

31 commits

Author SHA1 Message Date
Michael Jarvis
92f39c50c8 Add explicit rule for compile to use CCFLAGS instead of CFLAGS (take two) 2017-06-13 20:43:43 +03:00
Michael Jarvis
b0d8eff19d Revert "Add explicit rule for compile to use CCFLAGS instead of CFLAGS"
This reverts commit c29e30d25c.
2017-06-13 20:43:43 +03:00
Michael Jarvis
fa3e56f539 Add explicit rule for compile to use CCFLAGS instead of CFLAGS 2017-06-13 20:43:43 +03:00
Eric S. Raymond
60131eb12a Hand merge of MR !31: Update the CI infrastructure to be faster 2017-06-13 20:43:43 +03:00
Eric S. Raymond
2f30d19aa2 Simplify inclusion computation so it's BSD-friendly. 2017-06-13 20:43:43 +03:00
Jason S. Ninneman
99062f8a77 Fix dependencies so parallel make works (issue #4). 2017-06-13 20:43:43 +03:00
Eric S. Raymond
5474ff5484 Add a missing dependency. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
33878607df Don't build with two -std options. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
e4d145d727 Really mean it about strict C99 compliance. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
1e3e6938b3 Minor build tweaks. 2017-06-13 20:43:42 +03:00
Warren Melnick
a7ba84a680 Move the if for GCC 4 to an elseif so it does not interfere with MacOS 2017-06-13 20:43:42 +03:00
Warren Melnick
99d61fa4aa Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
2618af8319 Don't assume gcc. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
b4f9c2a86c MacOS port fix. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
666b0c44f8 Remove 'compile' upon 'make clean'.
Also remove a disused rule.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
7bf56ac60e Simplify build: nested makefiles considered harmful. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
0b02f361de Move database compilation out into its own tool (for now). 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
e281f895d4 Factor out handling of variables populated from the database.
This reorganization is a first step toward handling database compilation separately.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
9e5ac5a43e Correct a dependency. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
6172ecb1af Use C99 moode of compiler. 2017-06-13 20:43:41 +03:00
NHOrus
b11fcf07e3 Different, correct fix of tests
Now without caching .data and extended cleanup
2017-06-13 20:43:41 +03:00
Eric S. Raymond
75c8df9225 First version of regression tests.
Only one test so far but the framework for more is in place.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
a408da3fed Repair CentOS 6 build (fails due to clock_gettime() being undefined)
GitLab issue #2.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
793c3fa1a4 Remove cached data on clean.
We've had two instances now of database compilation getting silently
broken and that not noticed because of the caching. Attempt to
forestall this.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
3cd972a418 Documentation polishing. Add TODO. 2017-06-13 20:43:39 +03:00
Eric S. Raymond
6ef3e68c0c Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.
The thinking here is that we simplify life by going pure ANSI/POSIX.
This is a text game.  If it ever runs on anything but Unix again it's
almost certain to be on something like WSL that supplies a
POSIX-conformant text console.
2017-06-13 20:43:39 +03:00
Eric S. Raymond
015583689c Add control file for shipper. 2017-06-13 20:43:39 +03:00
Eric S. Raymond
587991c168 Consistent use of 'advent' to avoid collision with BSD Games.
Manual page added.
2017-06-13 20:43:39 +03:00
Eric S. Raymond
f5f3c5ea25 Relicense to 2-clause BSD. Befin the history document. 2017-06-13 20:43:39 +03:00
Eric S. Raymond
3a9c44f910 Minimal forward-port to modern C - just enough to get it to compile. 2017-06-13 20:43:39 +03:00
Eric S. Raymond
f16343f8dc Don Wood's 430-point Adventure 2.5 from 1995, from rec.games.int-fiction. 2017-06-13 20:43:39 +03:00