This commit is contained in:
cvs
2000-04-11 11:07:06 +00:00
parent f77ba1cc71
commit e23f19f2f8
7 changed files with 229 additions and 123 deletions

View File

@@ -5,21 +5,21 @@
#--------------------------------------------------------------------------
OBJ= tecs_cli.o coc_client.o coc_util.o err_handling.o \
str_util.o str_buf.o coc_server.o tecs_lsc.o tecs_serial.o \
coc_logfile.o tecs_dlog.o
coc_logfile.o tecs_dlog.o
#------------ for DigitalUnix
#------------ for DigitalUnix (add -DFORTIFY to CFLAGS for fortified version)
CC=cc
CFLAGS= -std1 -g -c -warnprotos -I../ -I. -I../hardsup
CFLAGS= -std1 -g -warnprotos -I../ -I. -I../hardsup
.c.o:
$(CC) $(CFLAGS) $*.c
$(CC) $(CFLAGS) -c $*.c
tecs: $(OBJ)
- rm libtecsl.a
ar cr libtecsl.a $(OBJ)
ranlib libtecsl.a
- rm TecsServer
$(CC) -o TecsServer -g -I../ tecs.c -lm -L. -ltecsl -L../hardsup -lhlib
$(CC) $(CFLAGS) -o TecsServer -g tecs.c fortify1.c -lm -L. -ltecsl -L../hardsup -lhlib
- rm test
f77 -o test -g test.for tecs_tas.for get_lun.for -L. -ltecsl
clean: