home *** CD-ROM | disk | FTP | other *** search
- #
- # Flags to compile the IRIT solid modeller using DJGCC on the IBM PC.
- #
- # Gershon Elber, Dec 1991
- #
-
- #
- # make file to use. I am using regular Borland's maker (from Borland 3.0).
- # This maker is the same as previous Borland compilers make (uprotected
- # mode make). In 3.0 make is protected and cause gcc to crash.
- # Note you may need to change the include statements in the subdirectory
- # makefiles if other make is to be used.
- #
- MAKE = maker
-
- #
- #
- # All libraries created will be installed into the LIB_DIR directory.
- #
- LIB_DIR = /tools/djgpp/mylib
- LIB_DIR_DOS = \tools\djgpp\mylib
-
- #
- # All includes files associated with the installed libraries will be
- # installed into the INC_DIR directory.
- #
- INC_DIR = /tools/djgpp/myinclud
- INC_DIR_DOS = \tools\djgpp\myinclud
-
- #
- # All binaries created will be installed into the BIN_DIR directory.
- #
- BIN_DIR = /c/irit/bin
- BIN_DIR_DOS = \c\irit\bin
-
- #
- # Flags using DJ gcc 1.39 for the IBM PC and its graphics drivers
- #
- CC = gcc
- DFLAGS =-DGETCWD -DSTRICMP -DDJGCC
- CFLAGS = -O $(DFLAGS)
- # CFLAGS = -g -pg $(DFLAGS)
- MORELIBS = -lintr -lgr -lpc
- MOREOBJS = dosgraph.o
-
- #
- # Default rule for compilation.
- #
- .c.o:
- $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
- .cc.o:
- $(CC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
-
- #
- # All libraries.
- #
- LIBS = -L$(LIB_DIR) -lmisc -lcagd -lgif
-