aboutsummaryrefslogtreecommitdiffstats
path: root/atari
diff options
context:
space:
mode:
Diffstat (limited to 'atari')
-rw-r--r--atari/Makefile.st7
-rw-r--r--atari/config.h8
2 files changed, 10 insertions, 5 deletions
diff --git a/atari/Makefile.st b/atari/Makefile.st
index d3c8104a..33e9e3c2 100644
--- a/atari/Makefile.st
+++ b/atari/Makefile.st
@@ -5,7 +5,7 @@
# and modified system().
# Check comments in this Makefile and adjust to your needs!!
#
-# Copyright (C) 1986, 1988-1992 the Free Software Foundation, Inc.
+# Copyright (C) 1986, 1988-1993 the Free Software Foundation, Inc.
#
# This file is part of GAWK, the GNU implementation of the
# AWK Progamming Language.
@@ -58,7 +58,8 @@ ALLOBJS = $(AWKOBJS) awktab.o
# GNUOBJS
# GNU stuff that gawk uses as library routines.
-GNUOBJS= rx.o dfa.o
+REGEX = regex
+GNUOBJS= $(REGEX).o dfa.o
all: gawk.ttp
@@ -68,7 +69,7 @@ gawk.ttp: $(ALLOBJS) $(GNUOBJS) $(REOBJS) $(LIBOBJS) $(ST_LIBOBJS)
toglclr -fload $@
# xstrip -k $@
-$(AWKOBJS) $(GNUOBJS): awk.h dfa.h regex.h config.h
+$(AWKOBJS) $(GNUOBJS): awk.h dfa.h $(REGEX).h config.h
# cheat with defines to force an inclusion of a proper code
getopt.o: getopt.h
diff --git a/atari/config.h b/atari/config.h
index bac95acd..28c855bd 100644
--- a/atari/config.h
+++ b/atari/config.h
@@ -59,5 +59,9 @@
#undef _MINIX /* on Minix, used to get Posix functions */
#undef _POSIX_1_SOURCE /* on Minix, define to 2 */
-
-
+/*
+ * define const to nothing if not __STDC__
+ */
+#ifndef __STDC__
+#define const
+#endif