From 873c5963d0ed2d3fb5b35093af57d6be3196522f Mon Sep 17 00:00:00 2001 From: thurston Date: Sat, 3 Mar 2007 15:13:42 +0000 Subject: [PATCH] Fixed the distclean target, it was calling clean in the subdirs. Added a define for strcasecmp which is not available on windows. git-svn-id: http://svn.complang.org/ragel/trunk@121 052ea7fc-9027-0410-9066-f65837a77df0 --- Makefile.in | 2 +- common/config.h.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 43ca4a7..b63600d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -57,7 +57,7 @@ DISTCLEAN_SUBDIRS = $(ALL_SUBDIRS:%=%-distclean) .PHONY: $(DISTCLEAN_SUBDIRS) $(DISTCLEAN_SUBDIRS): - @cd $(@:%-distclean=%) && $(MAKE) clean + @cd $(@:%-distclean=%) && $(MAKE) distclean distclean: $(DISTCLEAN_SUBDIRS) rm -f Makefile config.cache config.status config.log diff --git a/common/config.h.in b/common/config.h.in index 86aab1e..813d0fa 100644 --- a/common/config.h.in +++ b/common/config.h.in @@ -31,4 +31,8 @@ #undef TXL #undef RUBY +#ifdef WIN32 +#define strcasecmp _stricmp +#endif + #endif /* _CONFIG_H */ -- 2.7.4