From 323c80a9f87d22b33b781fa4737d6da3eb7268b7 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sun, 15 Aug 2010 08:09:57 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@132 ed2142bd-67ad-457f-ba7c-d818d4011675 --- interface/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'interface/makefile') diff --git a/interface/makefile b/interface/makefile index 62a53a7..c93f937 100644 --- a/interface/makefile +++ b/interface/makefile @@ -1,11 +1,12 @@ +target: libopt.a INC=-I../ libopt.a:opt.o - $(AR) $@ opt.o + $(AR) rv $@ opt.o opt.o:opt.cc opt.h - $(CXX) $< -o $@ $(INC) $(CXXFLAGS) + $(CXX) $< -o $@ $(INC) $(CXXFLAGS) -c clean: -- cgit v1.2.2