home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume20 / etherlib / part01 / GNUmakefile < prev    next >
Encoding:
Makefile  |  1989-10-24  |  621 b   |  33 lines

  1. #
  2. # GNU makefile for ethernet library
  3. #
  4.  
  5. include GNUmake.config
  6.  
  7. OPTG := -O $(OPTG)
  8. OPT := -O
  9. DEFINES =
  10.  
  11. # This doesn't do anything - it just hands it off to the subdirectory
  12.  
  13. .PHONY: all install lint noise listing clean cleanlists realclean
  14.  
  15. all install ethertest ctp: $(SYSTEM)
  16.     $(MAKE) -C $(SYSTEM) -f ../GNUmake.mk $@
  17.  
  18. lint noise listing:
  19.     $(MAKE) -C src -f ../GNUmake.mk $@
  20.  
  21. clean: $(SYSTEM)
  22.     $(MAKE) -C $(SYSTEM) -f ../GNUmake.mk $@
  23.  
  24. realclean: $(SYSTEM)
  25.     $(MAKE) -C $(SYSTEM) -f ../GNUmake.mk $@
  26.     $(MAKE) -C src -f ../GNUmake.mk $@
  27.  
  28. $(SYSTEM):
  29.     mkdir $(SYSTEM)
  30.  
  31. .DEFAULT:
  32.     $(MAKE) -C $(SYSTEM) -f ../GNUmake.mk $@
  33.