Commit Graph

29 Commits

Author SHA1 Message Date
Arthur O'Dwyer 3a29576d9f Add build steps to check the committed files against "make clean".
If "make clean" on a new checkout causes diffs, you accidentally committed
one of the build products currently listed in "make clean", and you
should `git rm` it again.

If "make clean" on a dirty/built checkout causes diffs, then either
(1) the "make" process modified some tracked file which is not removed
by "make clean", i.e. either (1A) it is a build product which needs to
be `git rm`ed AND added under "make clean", or (1B) the build process
is modifying some source file, which is highly weird and shouldn't happen;
or else (2) "make" created some untracked file which is not removed
by "make clean", i.e., you should add that build product to "make clean".

The Travis build that uses "mymake" now does the same "mv" trick as Github CI,
to avoid having the executable sometimes named "./hyperrogue" and sometimes
named "./hyper". Why are these filenames different, anyway?
2021-03-10 12:00:11 -05:00
rpljwi df10c16db0
fix .dat filenames in Makefile.am 2020-05-19 21:19:53 +03:00
Zeno Rogue bf83959b4a allow setting the resource dir; autoconf should move *.dat file to resource dir 2020-05-16 01:30:33 +02:00
Zeno Rogue 6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue 6c3348c9f3 util to autohdr 2019-12-25 21:50:07 +01:00
Zeno Rogue 86d8eb759e classes.cpp first in makeh 2019-12-23 21:56:59 +01:00
Zeno Rogue f56c3b79f2
Merge pull request #83 from reinerh/make_dependency
Add language-data.cpp as dependency for autohdr.h
2019-10-03 20:19:06 +02:00
Zeno Rogue 4872ad01f4 fixed music 2019-10-03 20:08:07 +02:00
Reiner Herrmann 5d16f7aa0a Add language-data.cpp as dependency for autohdr.h
When building in parallel, it could happen that autohdr.h is generated
before language-data.cpp was available and the compilation fails.
2019-10-03 17:34:27 +02:00
Zeno Rogue a3137a3f7c fixed Makefile.am 2019-09-13 18:56:54 +02:00
Zeno Rogue 09ff50ba45 order in autohdr.h 2019-09-13 18:41:49 +02:00
Zeno Rogue 9f868ec1e5 added makeh to Makefile.am and Makefile.simple 2019-09-13 18:20:50 +02:00
Arthur O'Dwyer 8ebdede538 Fix some issues with the MinGW build.
Fixes #58.
2018-09-05 22:28:03 -07:00
Arthur O'Dwyer 0946300663 Clean up the autotools.
It still seems to work on MinGW mainly by accident,
but at least it's a lot shorter and clearer and more
portable at this point. We can start testing it in
TravisCI and then work on making it work "less by accident"
incrementally.
2018-07-01 12:38:08 -07:00
Dmitry Marakasov 7ead4fd7ac Set proper c++ standard for landgen 2018-06-26 15:42:49 +03:00
Dmitry Marakasov bde60ca7bd
Fix build by specifying correct savepng.cpp file name 2018-06-25 18:13:30 +03:00
Dmitry Marakasov a2de831122
Only apply -std=c++11 to C++ flags
CPPFLAGS are applied to both .cpp and .c files, and that breaks clang build:

error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
2017-10-31 18:18:06 +03:00
Janet Vorobyeva 8486aff555 Added -std=c++11 flag to Makefile
Project wont build on linux otherwise
2017-07-24 15:31:49 -04:00
Dmitry Marakasov ded88f4c36 Respect user-set optimization flags
The build should respect optimization flags set by the user
2017-06-26 22:17:40 +03:00
Alexandre Moine 27c1b678c2 Add sounds and correct music path 2017-04-12 16:16:59 +02:00
Zeno Rogue 0d7d2cf825 added -DMUSICDESTDIR 2017-03-31 22:10:05 +02:00
Dmitry Marakasov 17bf68f1a7 Fix generating hyperrogue-music.txt
```sed -i``` is not portable. Use portable ```sed``` command instead to generated target file in one step
2017-02-25 18:07:38 +04:00
Alexandre Moine 27a0e0e0a1 Add support for savepng.c 2016-08-26 18:36:03 +02:00
Alexandre Moine 15592281df Disable gcc optimization for langen 2016-01-02 18:44:54 +01:00
Alexandre Moine ddec675e3d Music now work after installation 2015-09-12 12:16:00 +02:00
Alexandre Moine 9f6bc4ea37 Add cross-compile support 2015-08-22 13:43:16 +02:00
Alexandre Moine 91eb928c29 Support installation, troubles with music btw 2015-08-09 22:36:13 +02:00
Alexandre Moine eb0a9a8fe2 Make order in the Makefile.am 2015-08-09 16:56:52 +02:00
Alexandre Moine 9293404a79 New Makefile, generated with autotools 2015-08-09 15:38:09 +02:00