Makefile.def2

# second part of general makefile definitions
# Sun Jan 28 22:06:21 MET 1996 
# 96/02/21 04:10:25 muellerg: updated for HP-UX


# How to generate dependency files 
# uncomment right lines for Linux and dependency files
#dep: *.c *.h
#   $(CPP) -M -MM *.c >dep      # Linux


# How to generate ../libcommon.a

../libcommon.a: 
    (cd ..; make lib)



# clean out some rubbish

clean:
    rm -f *.o *~ 


# and even kill the executables, together with the dependency file

purge: clean
    rm -f $(ALL) dep


#
# include a dependency file if one exists (otherwise one is creates, see above)
#
# uncomment this for Linux and dependency files
#ifeq (dep,$(wildcard dep))
#include dep
#endif