diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-01-24 12:09:51 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-01-24 12:09:51 +0000 |
| commit | b10be2b32adc91e3d51117aeac8a75e59271d941 (patch) | |
| tree | 608e4e5d61b59e293a5c3cca9012b6b0a7c03cdf /Recipe | |
| parent | 2040ff96317be6b93ca459c44bfea5d775a18692 (diff) | |
| download | puzzles-b10be2b32adc91e3d51117aeac8a75e59271d941.zip puzzles-b10be2b32adc91e3d51117aeac8a75e59271d941.tar.gz puzzles-b10be2b32adc91e3d51117aeac8a75e59271d941.tar.bz2 puzzles-b10be2b32adc91e3d51117aeac8a75e59271d941.tar.xz | |
The #definition of COMBINED was done very badly: it was a piece of
platform-dependent code in puzzles.h (ick), which in turn depended
on the magic symbol MAC_OS_X being defined by mkfiles.pl itself
(yuck). Suddenly realised I can do much better simply by putting it
in an OS X makefile extras section in Recipe, and removing both
previous hacks. Much nicer.
[originally from svn r5191]
Diffstat (limited to 'Recipe')
| -rw-r--r-- | Recipe | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,8 +41,11 @@ pattern : [G] WINDOWS COMMON pattern # Mac OS X unified application containing all the puzzles. Puzzles : [MX] osx osx.icns osx-info.plist COMMON ALL # For OS X, we must create the online help and include it in the -# application bundle.) +# application bundle.) Also we add -DCOMBINED to the compiler flags +# so as to inform the code that we're building a single binary for +# all the puzzles. !begin osx +CFLAGS += -DCOMBINED Puzzles_extra = Puzzles.app/Contents/Resources/Help/index.html Puzzles.app/Contents/Resources/Help/index.html: \ Puzzles.app/Contents/Resources/Help puzzles.but |