home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 21 / amigaformatcd21.iso / mui / mui_developer / extclasses / mcc_tron / developer / c / examples / smakefile next >
Encoding:
Makefile  |  1997-03-10  |  679 b   |  28 lines

  1. # Generates Tron demo
  2. # (c) 1996 kmel, Klaus Melchior
  3.  
  4. REVDIR    = rev/
  5.  
  6. LINKERLIBS  = lib:debug.lib lib:sc.lib lib:amiga.lib
  7. LINKERFLAGS = SC SD BATCH NOICONS 
  8. CFLAGS      = StringMerge NoStackCheck NoStackExt UnsignedChars \
  9.         CommentNest ErrorRexx NoMultipleIncludes \
  10.         StructureEquivalence NoIcons GenProtoParameters \
  11.         Ignore=147 MultipleCharacterConstants STREQ noOPTIMIZE \
  12.         MemorySize=Huge IDLen=64
  13.  
  14. PRGS = Tron-Demo
  15.  
  16. all: $(PRGS)
  17.  
  18. clean:
  19.     @echo "*e[32mClean up...*e[0m"
  20.     @delete $(PRGS) *.o
  21.  
  22.  
  23. Tron-Demo: tron-demo.c
  24.     @echo "*e[32mMaking new application $@*e[0m"
  25.     @sc $(CFLAGS) $*.c OBJNAME *.o
  26.     @slink to Tron-Demo from lib:c.o $*.o lib $(LINKERLIBS) $(LINKERFLAGS)
  27.  
  28.