--- rawreader/Makefile 2006/09/01 10:55:56 1.1 +++ rawreader/Makefile 2006/12/10 12:21:00 1.2 @@ -2,7 +2,7 @@ # RawReader makefile # # SOFTWARE VERSION -VER= v0r00 +VER= v1r12 # An almost general purpouse Makefile for PAMELA repository # Let's start with some usefull definition for colorize the echo RED='\E[1;31;40m' @@ -42,6 +42,7 @@ DIRSRC=src DIRINC=inc DIRDOC=doc +DIRDAT=dat # Here the PAMELA environmental variables to be checked PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env PAM_MACROS_env PAM_CALIB_env PAM_YODA_env # Here the local variables used to build the targets @@ -79,6 +80,7 @@ # CALIBFILES= DOCFILES= +DATFILES=parameter.dat # Here the Variables used for info target PACKAGE=RawReader EXECUTABLES=RawReader.exe @@ -92,7 +94,9 @@ # all: test mkbindir mklibdir ${EXECUTABLES} all: mkbindir mklibdir ${EXECUTABLES} @echo -e ${GREEN} "" - @(${EGREEN} " Finished, now you can install the package \n (use: make install or make upgrade or make forceinstall) "; ${RESET}) + @(${EGREEN} " Finished, now you can install the package \n (use: make install or make upgrade or make forceinstall) \n or you can copy by hand the files: "; ${RESET}) + @(${EBLUE} " - ${EXECUTABLES}" ) + @(${EBLUE} " - ${DIRDAT}/${DATFILES}"; ${RESET}) @echo -e ${GREEN} "" @${RESET} @@ -163,7 +167,7 @@ upgrade: install #install: installlib installinc installmacros installcalib installdoc installexe installcmacro -install: +install: test installexe installdoc installdat installlib: LINK=y installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%) @@ -202,6 +206,11 @@ installdoc: @${test_and_cp} +installdat: TOBEMOVED= $(DATFILES:${DIRDAT}/%=${PAM_BIN}/%) +installdat: ORIGIN=${DIRDAT} +installdat: + @${test_and_cp} + info: @echo " " @${EGREEN} "Infos for package :" ${WHITE} ${PACKAGE} @@ -211,7 +220,7 @@ @${EGREEN} " SRCS :" ${WHITE} ${SRCS} @${EGREEN} " OBJS :" ${WHITE} ${OBJS} @${EGREEN} " DOCS :" ${WHITE} ${DOCS} - @${EGREEN} " MACROS :" ${WHITE} ${MACROS} + @${EGREEN} " PARAMETERS :" ${WHITE} ${DATFILES} @echo " " @${RESET}