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:
parent
ec5c81cb93
commit
898b1a5312
4 changed files with 4 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
.PHONY: install
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/include/loki
|
||||
mkdir -p $(DESTDIR)/usr/include/loki/flex
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue