home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / misc / imagefx_sdk / sas / examples / hooks / smakefile < prev   
Encoding:
Makefile  |  1995-02-15  |  1.2 KB  |  48 lines

  1. # Compiling for SAS/C 6.5x
  2.  
  3. START = LIB:c.o SDEV:sas/lib/start.o
  4. LFLG  = SC SD ND BATCH NOICONS
  5. LIBS  = SDEV:sas/lib/scan.lib+LIB:sc.lib+LIB:amiga.lib
  6.  
  7. all: Antique Sample1 Sample2 GedSample GedSample2
  8.  
  9. Antique: antique.o
  10.    Slink $(LFLG) FROM $(START) antique.o TO Antique LIB $(LIBS)
  11.  
  12. Sample1: sample1.o
  13.    Slink $(LFLG) FROM $(START) sample1.o TO Sample1 LIB $(LIBS)
  14.  
  15. sample1.o: sample1.c
  16.    rev $*.c
  17.    sc $(CFLAGS) $*.c
  18.  
  19. Sample2: sample2.o
  20.    Slink $(LFLG) FROM $(START) sample2.o TO Sample2 LIB $(LIBS)
  21.  
  22. sample2.o: sample2.c
  23.    rev $*.c
  24.    sc $(CFLAGS) $*.c
  25.  
  26. GedSample: gedsample.o
  27.    Slink $(LFLG) FROM $(START) gedsample.o TO GedSample LIB $(LIBS)
  28.  
  29. gedsample.o: gedsample.c gedsample_strings.h
  30.    rev $*.c
  31.    sc $(CFLAGS) $*.c
  32.  
  33. gedsample_strings.h: gedsample.str
  34.    str -h -e -ogedsample_strings.h GedSample.str
  35.    str -h -a -ogedsample_strings.h GedSample.str
  36.  
  37. GedSample2: gedsample2.o
  38.    Slink $(LFLG) FROM $(START) gedsample2.o TO GedSample2 LIB $(LIBS)
  39.  
  40. gedsample2.o: gedsample2.c gedsample2_strings.h
  41.    rev $*.c
  42.    sc $(CFLAGS) $*.c
  43.  
  44. gedsample2_strings.h: gedsample2.str
  45.    str -h -e -ogedsample2_strings.h GedSample2.str
  46.    str -h -a -ogedsample2_strings.h GedSample2.str
  47.  
  48.