Some cleanup in the makefiles
[u/mrichter/AliRoot.git] / PYTHIA6 / CMake_libpythia6.txt
CommitLineData
e969a926 1# -*- mode: cmake -*-
2
3set(SRCS
4AliPythiaRndm.cxx
5)
6
7set(CSRCS
8main.c
9pythia6_common_address.c
10)
11
12set(FSRCS
e969a926 13pythia6_common_block_address.F
14tpythia6_called_from_cc.F
d538597e 15pythia6214.f
16pydummy.f
17pdf_alice.F
e969a926 18)
19
20# fill list of header files from list of source files
21# by exchanging the file extension
22String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
23
24Set(SRCS ${SRCS} ${FSRCS} ${CSRCS})
25
26AddLibrary(pythia6 "${SRCS}" "${HDRS}")
27