home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / OPENDOOR / WRITEJAM.ZIP / MAKEFILE.BC < prev    next >
Encoding:
Text File  |  1994-03-01  |  949 b   |  38 lines

  1. #
  2. #   WriteJam - Written by Michael Lecuyer
  3. #
  4. #   Make the function to write a message to the JAM message base
  5. #
  6. #   Copyright 1993 Michael Lecuyer. ALL RIGHTS RESERVED.
  7. #
  8. #     JAM API:
  9. #   Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
  10. #   Mats Wallin. ALL RIGHTS RESERVED.
  11. #
  12. #   Be sure to run the correct model - CMDL governs this.
  13. #
  14. CMDL    = l
  15. CC      = bcc
  16. CFLAGS  = -c -m$(CMDL) -G -Ox -Z -f- -d -w
  17.  
  18. .c.obj:
  19.     $(CC) $(CFLAGS) {$< }
  20.  
  21.  
  22. .c.obj:
  23.     bcc -c -f- -G -O2 -Od -d -w -m$(CMDL) -Ic:\bcpp\include;. $*.c
  24.  
  25. all: writejam.exe
  26.  
  27. writejam.obj: writejam.c writejam.h
  28.     bcc -c -f- -G -O2 -Ox -d -w -m$(CMDL) -Ic:\bcpp\include;. writejam.c
  29.  
  30. maintest.obj: maintest.c writejam.h
  31.     bcc -c -f- -G -O2 -Ox -d -w -m$(CMDL) -Ic:\bcpp\include;. maintest.c
  32.  
  33. LFLAGS = -Lc:\bcpp\lib
  34.  
  35. writejam.exe: writejam.obj maintest.obj
  36.     bcc $(LFLAGS) -m$(CMDL) writejam.obj maintest.obj jamcapi$(CMDL).lib
  37.  
  38.