home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / ant.ytar / ant / ANT / makefile < prev    next >
Makefile  |  1995-07-15  |  964b  |  46 lines

  1. #######################################
  2. #  define your machine root directory
  3. #######################################
  4.  
  5. R =/h0
  6. DEFS = $R/defs
  7. SLIB = $R/LIB/sys.l
  8. CLIB = $R/LIB/clib.l
  9. CLIBN = $R/LIB/clibn.l
  10. CIO= $R/LIB/cio.l
  11. MATH = $R/LIB/math.l
  12.  
  13. #######################################
  14. # define if  neural in user_root, 
  15. # otherwise change  these macros  
  16. #######################################
  17. N = .
  18. ODIR = ../cmds
  19. RDIR = $N/RELS
  20. SDIR = $N
  21.  
  22. ND=$N/defs
  23.  
  24. NL=$N/lib
  25.  
  26. CFLAGS    =  -l=$(NL)/antlib.l -v=$(ND) 
  27. LFLAGS    =  -l=$(NL)/antlib.l
  28.  
  29. FILES  =  $N/ant.c $(NL)/antlib.l $(ND)/ant.h $(ND)/antlib.h  
  30. LFILES  =   $(NL)/antlib.c $(ND)/ant.h $(ND)/antlib.h  
  31.  
  32. ant.date: ant $(NL)/antlib.l
  33.     touch ant.date 
  34.  
  35. ant:    $(FILES)
  36.       l68 $(LFLAGS) $R/lib/cstart.r   $(RDIR)/ant.r \
  37.           -l=$(CLIBN)    -l=$(MATH) -l=$(SLIB)  -O=$(ODIR)/ant  -a
  38.           attr -pe -e $(ODIR)/ant
  39.  
  40. $(NL)/antlib.l: antlib.r   
  41.       merge  $(RDIR)/antlib.r >-$(NL)/antlib.l
  42.  
  43.  
  44. antlib.r: $(LFILES)
  45.  
  46.