aboutsummaryrefslogtreecommitdiffstats
path: root/atari/mkconf.g
diff options
context:
space:
mode:
Diffstat (limited to 'atari/mkconf.g')
-rw-r--r--atari/mkconf.g18
1 files changed, 18 insertions, 0 deletions
diff --git a/atari/mkconf.g b/atari/mkconf.g
new file mode 100644
index 00000000..b7db88a9
--- /dev/null
+++ b/atari/mkconf.g
@@ -0,0 +1,18 @@
+#
+# gulam script to produce configuration file for Atari ST;
+# performs the same job as mkconf, but only for this specific configuration;
+# it is assumed that it is located in a subdirectory .\atari
+#
+if { -e ..\config\atari }
+ sed -n -f mkscrpt.sed ..\config\atari > sedscr
+ sed -f sedscr ..\config.h-d > config.h
+ sed -n '/^#echo./s///p' ..\config\atari
+ rm sedscr
+ mv config.h ..
+ef
+ echo "'..\config\atari' was lost somewhere"
+ echo "Either construct one based on the examples in the config directory,"
+ echo "or, in source directory, copy config.h-dist to config.h and edit it."
+ exit 1
+endif
+exit 0