- Make it easier to overwrite CXXFLAGS, by using CPPFLAGS for loki specific stuff

- Don't create temporary object files anymore, use implicit rule for binaries
- Removed unneeded DESTDIR= line


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@463 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
lfittl 2006-01-09 23:56:13 +00:00
parent ba38940146
commit d51dd537ea
14 changed files with 89 additions and 130 deletions

View file

@ -1,11 +1,10 @@
OBJ = Factory.o
BIN = main-gcc
CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG
LIBS = -L../../lib -lloki
BIN = Factory
CXXFLAGS = -Wall -O2
CPPFLAGS = -I../../include -DNDEBUG
LDFLAGS = -L../../lib
LDLIBS = -lloki
$(BIN): $(OBJ)
$(CXX) -o $(BIN) $(OBJ) $(LIBS)
.PHONY: clean
.PHONY: build clean
build: $(BIN)
clean:
rm -f $(OBJ) $(BIN)
rm -f $(BIN)