home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / newlibs / cclib.lzh / test.mke < prev    next >
Text File  |  1989-09-25  |  707b  |  33 lines

  1. # --- the directory for the cclib.library include files
  2. DINCLUDE=a:dinclude
  3. # --- location of the special main routine
  4. SYSOBJ=_main.o
  5. # --- connection routines for cclib.library
  6. CCLIB=cclib
  7. # --- standard Aztec library
  8. AZTECLIB=c32
  9. # --- name of the compile and link commands
  10. CC=cc
  11. LN=ln
  12. # --- flags for the linker
  13. LNFLAGS1=-M $(SYSOBJ)
  14. LNFLAGS2=-l$(CCLIB) -l$(AZTECLIB)
  15. # --- flags for the compiler
  16. CFLAGS=+L -I$(DINCLUDE)
  17. # --- production rule for compiling
  18. .c.o:
  19.    $(CC) $(CFLAGS) $*.c -O $*.o
  20.  
  21. # *********** specifics for the application *********************
  22.  
  23. MKFILE=test.mke
  24. PROGNAME=test
  25. OBJ=test.o
  26.  
  27. $(PROGNAME): $(SYSOBJ) $(OBJ) $(MKFILE)
  28.    $(LN) $(LNFLAGS1) $(OBJ) -O $(PROGNAME) $(LNFLAGS2)
  29.  
  30.  
  31.  
  32.  
  33.