Fixed .PHONY targets

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@446 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
lfittl 2006-01-07 03:19:49 +00:00
parent ec5c81cb93
commit 898b1a5312
4 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
DESTDIR := $(CURDIR)/$(DESTDIR)
.PHONY: build check install clean
build:
$(MAKE) -C src
@ -10,7 +11,6 @@ install:
$(MAKE) -C src install
$(MAKE) -C include install
.PHONY: clean
clean:
$(MAKE) -C src clean
$(MAKE) -C test clean

View file

@ -1,3 +1,4 @@
.PHONY: install
install:
mkdir -p $(DESTDIR)/usr/include/loki
mkdir -p $(DESTDIR)/usr/include/loki/flex

View file

@ -5,10 +5,10 @@ CXXFLAGS = -I../include -Wall -O2 -DNDEBUG
$(BIN): $(OBJ)
ar rs $(BIN) $(OBJ)
.PHONY: clean install
install: $(BIN)
mkdir -p $(DESTDIR)/usr/lib
install $(BIN) $(DESTDIR)/usr/lib
.PHONY: clean
clean:
rm -f $(OBJ) $(BIN)

View file

@ -1,7 +1,7 @@
SUBTARGETS = Factory flex_string Longevity OrderedStatic RegressionTest \
SafeFormat ScopeGuard Singleton SmallObj Visitor
.PHONY: all $(SUBTARGETS)
.PHONY: clean all $(SUBTARGETS)
all: $(SUBTARGETS)
$(SUBTARGETS):