home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-07 | 805 b | 30 lines |
- #
- # MAKE FILE FOR GNU C (TOS)
- # add what optimizion options your system supports
- # on some systems there may be no setvbuf() or the code may generate
- # errors if the large buffer is used for the stream, if so :
- # add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX -Dal)
- # and if your system doesn't support either setvbuf or setbuf
- # add -DNO_SETBUF
- # add -DALLOC if your system uses alloc() instead of malloc()
- # add -DNOSIGNAL for faster processing on a unix pc
-
- CFLAGS=-O -DNDEBUG -D__GNUC_TOS__ -mshort -fomit-frame-pointer \
- -fcombine-regs -fstrength-reduce
- CC = cgcc
-
- OFLAGS= -mshort -s
- LIB=
- PROG=compress.ttp
- OBJ=compress.o compusi.o compapi.o
- BIN=
-
- $(PROG): $(OBJ)
- $(CC) -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
-
- compapi.o: compress.h
-
- compress.o: compress.h
-
- compusi.o: compress.h
-