diff options
Diffstat (limited to 'interface/makefile')
-rw-r--r-- | interface/makefile | 5 |
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: |