home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / uupoll068.lha / source / Lmk.def < prev    next >
Encoding:
Text File  |  1992-08-03  |  912 b   |  35 lines

  1.  
  2. LC      = lc
  3. LC1     = lc1
  4. LC2     = lc2
  5. GO      = go
  6. AS      = genim2
  7. LN      = blink
  8. #   -v   disables generation of stack checking code at function calls
  9. #    -t   enables warning messages for not-already-defined struct tags
  10. #    -rr  registerized function calls
  11. #    -ms  shorter size instead of faster execution
  12. #    -cr  enable registerized parameter passing
  13. #    -d5  full debugging information for all symbols and structures
  14. # The following options are recommended by SAS "for the
  15. # best code generation and error reporting":
  16. #    -cu  forces all char declarations to be unsigned char
  17. #    -cs  causes the generation of a single copy of string constants
  18. #    -cf  check for the presence of function prototypes
  19. LCFLAGS = -t -v -rr -ms -crsuf -iinclude: -iinclude:chead/ -d5
  20. RUNCODE = lib:c.o
  21.  
  22. #.DEFAULT:
  23. #    $(LC) $(LCFLAGS) $*.c
  24.  
  25. .c.o:
  26.     $(LC) $(LCFLAGS) $*.c
  27.  
  28. .a.o:
  29.     $(AS) -o$*.o $*.a
  30.  
  31. .h.o:
  32.     delete $*.o
  33.     $(LC) $(LCFLAGS) $*.c
  34.  
  35.