Added a dependency to library files
This commit is contained in:
parent
2675669646
commit
5f38880f2e
1 changed files with 5 additions and 1 deletions
|
|
@ -13,12 +13,16 @@ OBJS = ck2ctml.o
|
|||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
CONVLIB_DEP = @buildlib@/libconverters.a
|
||||
CANTERALIB_DEP = @buildlib@/libcantera.a \
|
||||
@buildlib@/libctcxx.a
|
||||
|
||||
.cpp.o:
|
||||
@CXX@ -c $< @DEFS@ $(INCDIR) @CXXFLAGS@ $(CXX_FLAGS)
|
||||
|
||||
all: $(BINDIR)/ck2ctml
|
||||
|
||||
$(BINDIR)/ck2ctml: ck2ctml.o
|
||||
$(BINDIR)/ck2ctml: ck2ctml.o $(CONVLIB_DEP) $(CANTERALIB_DEP)
|
||||
@CXX@ -o $(BINDIR)/ck2ctml ck2ctml.o $(LCXX_FLAGS) -lconverters $(LOCAL_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue