aboutsummaryrefslogtreecommitdiffstats
path: root/editline/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'editline/Makefile.in')
-rwxr-xr-xeditline/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/editline/Makefile.in b/editline/Makefile.in
index c4e569515..805642281 100755
--- a/editline/Makefile.in
+++ b/editline/Makefile.in
@@ -3,9 +3,8 @@
#
OSTYPE=$(shell uname -s)
-cygx="$(shell uname -s | sed -e c\cygwin | tr [:upper:] [:lower:])"
define cyg_subst_sys
- if [ $(cygx) = "cygwin" ]; then \
+ if uname -s | grep -qi cygwin; then \
cat $@ | sed -e s/"sys\.h"/"config.h"/g > $@.copy; \
mv --force $@.copy $@; \
fi
@@ -230,3 +229,5 @@ editline.c : $(ACSRCS) $(BCSRCS) $(AGCSRCS)
.c.o_s : $(AGHDRS) $(BGHDRS)
$(CC) -c $(S_CFLAGS) $(CFLAGS) $(CPPFLAGS) $< -o $@
+
+$(CCSRCS) : $(BGHDRS)