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