Made a rule to add csvdiff to the bin directory of the install

This commit is contained in:
Harry Moffat 2008-09-08 23:56:40 +00:00
parent 7c615c9529
commit bea1952ee3
2 changed files with 4 additions and 1 deletions

View file

@ -19,6 +19,7 @@ ifeq ($(build_ck),1)
@INSTALL@ -c @buildbin@/ck2cti @ct_bindir@
endif
@INSTALL@ -c @buildbin@/cti2ctml @ct_bindir@
@INSTALL@ -c @buildbin@/csvdiff @ct_bindir@
man-install:
@INSTALL@ -d @ct_mandir@/man1

View file

@ -3,6 +3,7 @@
LIBDIR = @buildlib@
INCDIR = @ctroot@/build/include/cantera
BINDIR = @ctroot@/bin
BBINDIR = @buildbin@
build_ck = @BUILD_CK@
LCXX_FLAGS = -L$(LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
@ -28,9 +29,10 @@ all: $(BINDIR)/csvdiff
$(BINDIR)/csvdiff: mdp_allo.o csvdiff.o tok_input_util.o
@CXX@ -o $(BINDIR)/csvdiff mdp_allo.o csvdiff.o tok_input_util.o \
$(LCXX_FLAGS) $(LCXX_END_LIBS)
cp -f $(BINDIR)/csvdiff $(BBINDIR)
clean:
$(RM) *.o *.*~ csvdiff $(BINDIR)/csvdiff
$(RM) *.o *.*~ csvdiff $(BINDIR)/csvdiff $(BBINDIR)/csvdiff
%.d:
@CXX_DEPENDS@ -MM -I$(INCDIR) $(CXX_FLAGS) $*.cpp > $*.d