"eof" is no longer a write command.
[external/ragel.git] / ragel / Makefile.in
index 6190a5f..8ce2a9f 100644 (file)
@@ -1,5 +1,5 @@
 #
-#   Copyright 2001-2007 Adrian Thurston <thurston@cs.queensu.ca>
+#   Copyright 2001-2007 Adrian Thurston <thurston@complang.org>
 #
 
 #   This file is part of Ragel.
@@ -21,7 +21,7 @@
 INCS += -I../common -I../aapl -I../redfsm
 DEFS +=
 
-CFLAGS += -g -Wall
+CXXFLAGS += -g -Wall
 LDFLAGS +=
 
 CC_SRCS = \
@@ -82,7 +82,7 @@ endif
 
 %.o: %.cpp
        @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CFLAGS) $(DEFS) $(INCS) -o $@ $<
+       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
 
 distclean: clean
        rm -f Makefile 
@@ -95,7 +95,7 @@ clean:
        rm -f tags .*.d *.o ragel $(EXTRA_CLEAN)
 
 install: all
-       install -d $(prefix)/bin
-       install -s ragel $(prefix)/bin/ragel
+       install -d $(DESTDIR)$(prefix)/bin
+       install -s ragel $(DESTDIR)$(prefix)/bin/ragel
 
 -include $(DEPS)