aboutsummaryrefslogtreecommitdiffstats
path: root/interface/makefile
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-08-15 08:09:57 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-08-15 08:09:57 +0000
commit323c80a9f87d22b33b781fa4737d6da3eb7268b7 (patch)
tree6240a6d5a389be76ea7820ed2c46ba2fd7b95ef4 /interface/makefile
parent16b94d08ac1196823d7e3daf787b85813ba33e6e (diff)
downloadopt-utilities-323c80a9f87d22b33b781fa4737d6da3eb7268b7.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@132 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'interface/makefile')
-rw-r--r--interface/makefile5
1 files changed, 3 insertions, 2 deletions
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: