/[PAMELA software]/PamCut/makefile
ViewVC logotype

Diff of /PamCut/makefile

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

revision 1.2 by pam-fi, Fri May 29 10:10:20 2009 UTC revision 1.3 by pam-fi, Mon Jun 15 14:43:30 2009 UTC
# 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          @echo          @echo
101          @echo "**** Compiler version and compilation host ****"          @echo "**** Compiler version and compilation host ****"
# Line 84  version: Line 103  version:
103          @hostname          @hostname
104          @echo          @echo
105    
106  .PHONY: all clean dependents version  .PHONY: all clean distclean install dependents version
107    

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

  ViewVC Help
Powered by ViewVC 1.1.23