home *** CD-ROM | disk | FTP | other *** search
- # --- the directory for the cclib.library include files
- DINCLUDE=a:dinclude
- # --- location of the special main routine
- SYSOBJ=_main.o
- # --- connection routines for cclib.library
- CCLIB=cclib
- # --- standard Aztec library
- AZTECLIB=c32
- # --- name of the compile and link commands
- CC=cc
- LN=ln
- # --- flags for the linker
- LNFLAGS1=-M $(SYSOBJ)
- LNFLAGS2=-l$(CCLIB) -l$(AZTECLIB)
- # --- flags for the compiler
- CFLAGS=+L -I$(DINCLUDE)
- # --- production rule for compiling
- .c.o:
- $(CC) $(CFLAGS) $*.c -O $*.o
-
- # *********** specifics for the application *********************
-
- MKFILE=test.mke
- PROGNAME=test
- OBJ=test.o
-
- $(PROGNAME): $(SYSOBJ) $(OBJ) $(MKFILE)
- $(LN) $(LNFLAGS1) $(OBJ) -O $(PROGNAME) $(LNFLAGS2)
-
-
-
-
-