/[PAMELA software]/PamCut/makefile
ViewVC logotype

Diff of /PamCut/makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by pam-fi, Wed May 27 13:30:01 2009 UTC revision 1.3 by pam-fi, Mon Jun 15 14:43:30 2009 UTC
# Line 62  endif Line 62  endif
62  endif  endif
63    
64  # All Target  # All Target
65  all: version libPamCut.so  all: libPamCut.so version
66    
67  # Tool invocations  # Tool invocations
68  libPamCut.so: $(OBJS) $(USER_OBJS)  libPamCut.so: $(OBJS) $(USER_OBJS)
# Line 77  clean: Line 77  clean:
77          -$(RM) $(CPP_DEPS) $(OBJS) libPamCut.so          -$(RM) $(CPP_DEPS) $(OBJS) libPamCut.so
78          -@echo ' '          -@echo ' '
79    
80    distclean:
81            @rm -f ${PAM_LIB}/libPamCut.so
82            @rm -rf ${PAM_INC}/PamCut
83            @echo Installed files successfully removed.
84            
85    install:
86            @if [[ "${PAM_INC}" == ""  || "${PAM_LIB}" == "" ]]; then \
87                echo Pamela environment not set. ; \
88            else \
89              rootdir=`pwd`; \
90              for file in `find -name "*.h"`; do \
91                    dir=`dirname $${file} | sed 's/.\///'`; \
92                    mkdir -p ${PAM_INC}/PamCut/$${dir}; \
93                cp -u $${file} ${PAM_INC}/PamCut/$${dir}; \
94              done; \
95              cp -u libPamCut.so ${PAM_LIB}; \
96            fi
97            @echo PamCut installed.
98    
99  version:  version:
100          @gcc --version | grep gcc; echo          @echo
101            @echo "**** Compiler version and compilation host ****"
102            @$(C++) --version | grep GCC
103            @hostname
104            @echo
105    
106    .PHONY: all clean distclean install dependents version
107    
 .PHONY: all clean dependents version  

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23