]>
Commit | Line | Data |
---|---|---|
f25979b4 | 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 | |
3 | @@ -21,7 +21,7 @@ | |
269eee09 | 4 | |
f25979b4 | 5 | # Add some default CXXFLAGS only if there aren't dictated from the outside |
6 | ifndef CXXFLAGS | |
7 | - CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings | |
8 | + CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings $(OPTFLAGS) | |
269eee09 | 9 | endif |
269eee09 | 10 | |
f25979b4 | 11 | # Regardless of the warning settings, we really do not want these errors. |
12 | @@ -39,7 +39,7 @@ | |
13 | ||
14 | $(CATCODEC): $(OBJS:%=objs/%) | |
15 | @echo '[LINK] $@' | |
16 | - $(Q)$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $^ | |
17 | + $(Q)$(CXX) $(LDFLAGS) -o $@ $(CXXFLAGS) $(LDFLAGS) $^ | |
269eee09 | 18 | |
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 ) |