Files
sics/site_ansto/hardsup/makefile
Douglas Clowes 7f4b0de463 Modify makefiles to find libraries on more platforms
r3060 | dcl | 2011-02-18 11:04:57 +1100 (Fri, 18 Feb 2011) | 1 line
2012-11-15 17:07:57 +11:00

22 lines
755 B
Makefile

#---------------------------------------------------------------------------
# Makefile for the site hardware support library
# Paul Hathaway, Nov 2004
#--------------------------------------------------------------------------
.SUFFIXES:
.SUFFIXES: .c .o
SRC = .
CC = gcc
CFLAGS = -g -DLINUX $(DFORTIFY) -I$(SRC) -I../.. $(INC_TCL8) -Wall -Wno-unused -Wextra
HOBJ= nhq200util.o itc4util.o lh45util.o lakeshore340util.o west4100util.o asynsrv_utility.o geterrno.o strjoin.o chopper.o modbustcp.o sct_galilprot.o sct_modbusprot.o sct_oxfordprot.o sct_orhvpsprot.o sct_velselprot.o sct_usbtmcprot.o sct_rfamp.o sinqhttpprot.o sct_protek608.o
libhlib.a: $(HOBJ)
rm -f libhlib.a
ar cr libhlib.a $(HOBJ)
ranlib libhlib.a
clean:
rm -f *.o *.a