#--------------------------------------------------------------------------- # 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 -c -warnprotos -I../ -I. -I../hardsup -DFORTIFY CFLAGS= -std1 -g -warnprotos -I../ -I. -I../hardsup .f.o: f77 -c -g $*.f .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 -lfor clean: rm *.o rm *.a