Make 'install' rule depend on 'all'

pull/3/head
Jonathan Moore Liles 2008-02-14 13:33:06 -06:00
parent 3ab70175da
commit 9d0689a8fa
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ SRCS= \
OBJS=$(SRCS:.C=.o)
.PHONEY: all clean install dist
.PHONEY: all clean install dist valgrind
all: non makedepend
@ -83,7 +83,7 @@ non: $(OBJS)
@ $(CXX) $(CXXFLAGS) $(LIBS) $(OBJS) -o $@ || (tput bold; tput setaf 1; echo Error!; tput sgr0)
@ test -x $@ && echo done.
install:
install: all
@ echo -n "Installing..."
@ install non $(prefix)/bin
@ mkdir -p "$(SYSTEM_PATH)"