IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 487


Ignore:
Timestamp:
Apr 21, 2004, 4:22:03 AM (22 years ago)
Author:
rhl
Message:

Add bin/lib/ups and simplify logic for clean target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/Makefile

    r441 r487  
    1 # $Id: Makefile,v 1.7 2004-04-19 19:38:18 rhl Exp $
     1# $Id: Makefile,v 1.8 2004-04-21 14:22:03 rhl Exp $
    22SHELL = /bin/sh
    3 DIRS = src include
     3DIRS = bin include lib src ups
    44
    5 .PHONY : all
    6 all :
     5.PHONY : all clean
     6all clean :
    77        @for f in $(DIRS); do \
    88                if [ ! -d $$f ]; then \
    99                        echo No such directory: $$f >&2; \
    1010                else \
    11                         (cd $$f; $(MAKE)); \
     11                        (cd $$f; $(MAKE) $(MFLAGS) $@); \
    1212                fi \
    1313        done
     14
     15clean : topClean
     16.PHONY : topClean
     17topClean:
     18        $(RM) *~ core* TAGS
    1419
    1520.PHONY : tags
     
    2732publish:
    2833        rsync -e ssh -auv ./ poiserver0:PSLib/
    29 
    30 clean:
    31         $(RM) *~ core* TAGS
    32         @for f in $(DIRS); do \
    33                 if [ ! -d $$f ]; then \
    34                         echo No such directory: $$f >&2; \
    35                 else \
    36                         (cd $$f; $(MAKE) clean); \
    37                 fi \
    38         done
    39 
Note: See TracChangeset for help on using the changeset viewer.