home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / misc / linkz88.lha / LinkZ88 / Source / smakefile < prev    next >
Encoding:
Makefile  |  1995-03-13  |  929 b   |  45 lines

  1. #
  2. # sMakefile for LinkZ88
  3. #
  4. # Compiled with SAS/C 6.55
  5. #
  6. # Note : Don't use the global symbol table for main.c as it has 'Library *'
  7. # conflicts.
  8. #
  9.  
  10. HEADERS    = consts.h structs.h protos.h windows.h
  11.  
  12. OBJECTS    = main.o windows.o general.o win.o serial.o
  13.  
  14. # SAS/C6
  15. CPILER    = sc
  16. OPTS    = ANSI NOVER NOCHECKABORT STRINGMERGE
  17. GST     = GST=include:all.gst
  18. OPTIM    = # OPT
  19. STRPDBG = STRIPDEBUG
  20. APPNAME    = LinkZ88
  21. DEBUG    = # DEBUG=FF
  22.  
  23. # Build the application
  24.  
  25. $(APPNAME}: ${OBJECTS}
  26.     sc TO ${APPNAME} OBJECT ${OBJECTS} LINK ${STRPDBG} # ADDSYM
  27.  
  28. # Build the object code
  29.  
  30. main.o: main.c ${HEADERS}
  31.     ${CPILER} ${OPTS} ${DEBUG} main.c
  32.  
  33. windows.o: windows.c ${HEADERS}
  34.     ${CPILER} ${OPTS} ${GST} IGNORE=ALL windows.c
  35.  
  36. general.o: general.c ${HEADERS}
  37.     ${CPILER} ${OPTS} ${OPTIM} ${GST} general.c
  38.  
  39. win.o: win.c ${HEADERS}
  40.     ${CPILER} ${OPTS} ${OPTIM} ${GST} ${DEBUG} win.c
  41.  
  42. serial.o: serial.c ${HEADERS}
  43.     ${CPILER} ${OPTS} ${OPTIM} ${GST} ${DEBUG} serial.c
  44.  
  45.