home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-10-28 | 778 b | 38 lines |
- # Works only on TC++ 1.0 make and up - swap out make before invoking command.
- .SWAP
-
- # Your C compiler and linker
- CC = tcc
- LNK = tlink
-
- # Include directories other than default ones.
- INC = -Ic:\usr\tc\include -I\usr\include
- LIB = c:\usr\tc\lib
- LIB2 = c:\usr\lib
-
- CFLAGS = -ml -c -a- -ff -G -O1 -r -d -v- -y- -k- -N-
- LFLAGS = /x/c/3
-
-
- LIBS = $(LIB)\cl.lib
-
- # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
- # choke on them (the { } signals batch mode that combines few operation at the
- # same time - very nice feature!).
- .c.obj:
- $(CC) $(INC) $(CFLAGS) {$< }
-
- OBJS = eelib.obj
-
- eelib: $(OBJS)
- $(LNK) @&&!
- c:\usr\tc\lib\c0l.obj+
- $(OBJS)
- eelib.exe
- eelib.map
- $(LIBS)
- !$(LFLAGS)
-
- ptype:
- mkptypes eelib.c > eelib.h
-