--- makelist/Makefile.orig 2010-01-06 07:59:38.000000000 +0900 +++ makelist/Makefile 2011-11-23 22:25:58.000000000 +0900 @@ -1,8 +1,7 @@ CFILES = makelist.c args.c config.c OFILES = $(CFILES:.c=.o) -CFLAGS = -O -Wall -Wno-deprecated -CC = g++ +CC = ${CXX} CPPFLAGS = -I../belgolib LDFLAGS = ../belgolib/belgolib.a @@ -21,6 +20,6 @@ -/bin/rm -f $(OFILES) $(OEXE) depend: - makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES) + makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES) # DO NOT DELETE