Files
sics/tecs/Makefile
2000-04-11 12:31:30 +00:00

28 lines
829 B
Makefile

#---------------------------------------------------------------------------
# Makefile for the TECS Client library
#
# Markus Zolliker, March 2000
#--------------------------------------------------------------------------
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
#------------ for DigitalUnix (add -DFORTIFY to CFLAGS for fortified version)
CC=cc
CFLAGS= -std1 -g -warnprotos -I../ -I. -I../hardsup
.c.o:
$(CC) $(CFLAGS) -c $*.c
tecs: $(OBJ)
- rm libtecsl.a
ar cr libtecsl.a $(OBJ)
ranlib libtecsl.a
- rm TecsServer
$(CC) $(CFLAGS) -o TecsServer -g tecs.c fortify1.c -lm -L. -ltecsl -L../hardsup -lhlib
- rm tecs
f77 -o tecs -g test.for tecs_tas.for get_lun.for -L. -ltecsl
clean:
rm *.o
rm *.a