aboutsummaryrefslogtreecommitdiffstats
path: root/atari/mkscrpt.sed
diff options
context:
space:
mode:
Diffstat (limited to 'atari/mkscrpt.sed')
-rw-r--r--atari/mkscrpt.sed15
1 files changed, 15 insertions, 0 deletions
diff --git a/atari/mkscrpt.sed b/atari/mkscrpt.sed
new file mode 100644
index 00000000..949d9c59
--- /dev/null
+++ b/atari/mkscrpt.sed
@@ -0,0 +1,15 @@
+# there is no automatic editing of Makefile for Atari right now
+# but lines starting with "MAKE_" string are processed for consistency
+# with other configuration files and in a case they would be needed
+# in a future
+:start
+ /^MAKE_/d
+ /^[^#]/s/.*/s~__SYSTEM__~&~/p
+ t cont
+ n
+ b start
+:cont
+ n
+ /^MAKE_/d
+ /^[^#]/s:^\([^ ]*\)[ ].*:s~^/\\* #define[ ]*\1.*~#define &~:p
+b cont