1 --- catcodec-1.0.1/Makefile~ 2010-08-25 18:39:16.000000000 +0200
2 +++ catcodec-1.0.1/Makefile 2010-09-02 14:58:19.162337310 +0200
5 # Add some default CXXFLAGS only if there aren't dictated from the outside
7 - CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings
8 + CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings $(OPTFLAGS)
11 # Regardless of the warning settings, we really do not want these errors.
14 $(CATCODEC): $(OBJS:%=objs/%)
16 - $(Q)$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $^
17 + $(Q)$(CXX) $(LDFLAGS) -o $@ $(CXXFLAGS) $(LDFLAGS) $^
19 VERSION := $(shell ./findversion.sh | cut -f 1 -d' ')
20 RES := $(shell if [ "`cat version.cache 2>/dev/null`" != "$(VERSION)" ]; then echo "$(VERSION)" > version.cache; fi )