# Compiles the code to filter CODA data # on HP-UX only. # You may have to "setup coda" before this works. # Alternatively you could copy all the evio directory # from ~rom/evio (evio.c, swap_util.c, evfile_msg.h) and # compile it with rwcoda.c, and thus not need coda library. # This would also make it platform independent. CC = cc CFLAGS= -O -D_HPUX_SOURCE -Dextname -Aa -D_LANGUAGE_C INCFLAGS= -I$(CODA)/HP_UX/include OBJS = rwcoda.o LIBS = -Wl,-L$(CODA)/HP_UX/lib -lana -lcopy -lmsg -lcoda # -Wl,-L/usr/lib/X11R5 -lXt -lX11 -lm -lPW -lc \ # all : rwcoda # rwcoda: $(OBJS) rm -f $@ $(CC) $(CFLAGS) -o rwcoda $(OBJS) $(LIBS) # rwcoda.o:rwcoda.c $(CC) -c -g $(CFLAGS) $(INCFLAGS) rwcoda.c #