aboutsummaryrefslogtreecommitdiff
path: root/lightup.R
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2006-08-05 17:20:29 +0000
committerSimon Tatham <anakin@pobox.com>2006-08-05 17:20:29 +0000
commitcf880225edb1b6a5cb27dec01ba54c61822788f2 (patch)
tree9f01b0c0b35023619044a5e08e69e3978fe6e5cd /lightup.R
parentf05c25347d66821d928668a7e87dffbf3ffed027 (diff)
downloadpuzzles-cf880225edb1b6a5cb27dec01ba54c61822788f2.zip
puzzles-cf880225edb1b6a5cb27dec01ba54c61822788f2.tar.gz
puzzles-cf880225edb1b6a5cb27dec01ba54c61822788f2.tar.bz2
puzzles-cf880225edb1b6a5cb27dec01ba54c61822788f2.tar.xz
I'm sick of repeatedly adding and removing local changes to Recipe
when testing a new game, so here's a new architecture for the Recipe file. mkfiles.pl now supports several new features: - an `!include' directive, which accepts wildcards - += to append to an existing object group definition - the ability to divert output to an arbitrary file. So now each puzzle has a `.R' file containing a fragment of Recipe code describing that puzzle, and the central Recipe does `!include *.R' to construct the Makefiles. That way, I can keep as many experimental half-finished puzzles lying around my working directory as I like, and I won't have to keep reverting Recipe when I check in any other changes. As part of this change, list.c is no longer a version-controlled file; it's now constructed by mkfiles.pl, so that it too can take advantage of this mechanism. [originally from svn r6781]
Diffstat (limited to 'lightup.R')
-rw-r--r--lightup.R20
1 files changed, 20 insertions, 0 deletions
diff --git a/lightup.R b/lightup.R
new file mode 100644
index 0000000..9c22e17
--- /dev/null
+++ b/lightup.R
@@ -0,0 +1,20 @@
+# -*- makefile -*-
+
+LIGHTUP = lightup combi
+
+lightup : [X] GTK COMMON LIGHTUP
+
+lightup : [G] WINDOWS COMMON LIGHTUP
+
+lightupsolver : [U] lightup[STANDALONE_SOLVER] combi STANDALONE
+lightupsolver : [C] lightup[STANDALONE_SOLVER] combi STANDALONE
+
+ALL += LIGHTUP
+
+!begin gtk
+GAMES += lightup
+!end
+
+!begin >list.c
+ A(lightup) \
+!end