|
Last change
on this file since f27baf was 5d30c1, checked in by Frederik Heber <heber@…>, 13 years ago |
|
Initial commit based on 3.0.0alpha (here claimed as 2.4).
|
-
Property mode
set to
100644
|
|
File size:
873 bytes
|
| Line | |
|---|
| 1 | TOPDIR=../../../../..
|
|---|
| 2 | ifndef SRCDIR
|
|---|
| 3 | SRCDIR=$(shell pwd)
|
|---|
| 4 | endif
|
|---|
| 5 |
|
|---|
| 6 | include $(SRCDIR)/$(TOPDIR)/lib/GlobalMakefile
|
|---|
| 7 |
|
|---|
| 8 | TARGET_TO_MAKE = libSCpsi
|
|---|
| 9 | BIN_OR_LIB = LIB
|
|---|
| 10 |
|
|---|
| 11 | SRCS = psiwfn.cc psiexenv.cc psiinput.cc psifile11.cc
|
|---|
| 12 | CSRCS =
|
|---|
| 13 |
|
|---|
| 14 | psitest.testrun: DO_TESTRUN=no
|
|---|
| 15 |
|
|---|
| 16 | TESTSRCS = psitest.cc
|
|---|
| 17 |
|
|---|
| 18 | TESTPROGS = psitest
|
|---|
| 19 |
|
|---|
| 20 | LIBOBJ = $(SRCS:%.cc=%.$(OBJSUF))
|
|---|
| 21 | LIBOBJ += $(CSRCS:%.c=%.$(OBJSUF))
|
|---|
| 22 |
|
|---|
| 23 | default:: $(DEPENDINCLUDE)
|
|---|
| 24 | interface:: $(DEPENDINCLUDE)
|
|---|
| 25 |
|
|---|
| 26 | include $(SRCDIR)/$(TOPDIR)/lib/GlobalRules
|
|---|
| 27 |
|
|---|
| 28 | psitest: psitest.$(OBJSUF) \
|
|---|
| 29 | $(shell $(LISTLIBS) $(INCLUDE) $(SRCDIR)/LIBS.h)
|
|---|
| 30 | $(LTLINK) $(CXX) $(LDFLAGS) -o psitest $^ $(SYSLIBS) $(LTLINKBINOPTS)
|
|---|
| 31 |
|
|---|
| 32 | psitest.$(OBJSUF): psitest.cc
|
|---|
| 33 | $(LTCOMP) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DSRCDIR=\"$(SRCDIR)\" -c $<
|
|---|
| 34 |
|
|---|
| 35 | print:
|
|---|
| 36 | echo $(SRCDIR)
|
|---|
| 37 |
|
|---|
| 38 | $(LIBOBJ:.$(OBJSUF)=.d): $(DEPENDINCLUDE)
|
|---|
| 39 | ifneq ($(DODEPEND),no)
|
|---|
| 40 | include $(LIBOBJ:.$(OBJSUF)=.d) $(TESTSRCS:%.cc=%.d)
|
|---|
| 41 | endif
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.