home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 390.lha / LibExample / Makefile < prev    next >
Encoding:
Makefile  |  1990-06-02  |  623 b   |  23 lines

  1.  
  2. #   You must modify SYMBOLS to some temporary directory if you do not
  3. #   already have a complete precompiled symbol table (*/*.h .. only
  4. #   sub-directory includes, not top level includes).  Remember to
  5. #   use +L when generating the precompiled symbol table.
  6.  
  7. SYMBOLS= vd0:include/symbols.m
  8.  
  9. all: lib test
  10.  
  11. lib:
  12.     cc +BCDL +p +I$(SYMBOLS) testlib.c -o ram:testlib.o
  13.     ln +Q ram:testlib.o -lcl32
  14.     copy ram:testlib libs:testlib.library
  15.     delete ram:testlib ram:testlib.o
  16.  
  17. test:
  18.     cc +L +I$(SYMBOLS) test.c -o ram:test.o
  19.     as hlib.asm -o ram:hlib.o
  20.     ln +Q ram:test.o ram:hlib.o -lc32
  21.     delete ram:test.o
  22.  
  23.