Fixed the distclean target, it was calling clean in the subdirs. Added a define
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sat, 3 Mar 2007 15:13:42 +0000 (15:13 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sat, 3 Mar 2007 15:13:42 +0000 (15:13 +0000)
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
common/config.h.in

index 43ca4a7..b63600d 100644 (file)
@@ -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
index 86aab1e..813d0fa 100644 (file)
@@ -31,4 +31,8 @@
 #undef TXL
 #undef RUBY
 
+#ifdef WIN32
+#define strcasecmp _stricmp
+#endif
+
 #endif /* _CONFIG_H */