# # makefile.HP # # Author: J. Berlin and K.L. Perry, JPL-PODAAC, 1998 # Modified: D.G. Long for HP # # This is a sample makefile for the QuikSCAT read # software in the C Programming language for HP platforms. # Changes to this makefile may be required before it will # work properly on your system. # # Please note that this makefile was originally # set-up to compile read_qscat2b.c. To use this # makefile for read_qscat2a.c, read_qscat1b.c or # read_qscat_info.c, please change accordingly. # Change "HDF" to match the location of the HDF library # on your system HDF=/usr/local/hdf # change CC to your favorite compiler. CC=cc CFLAGS= -Aa -I$(HDF)/include -DHP9000 LDFLAGS= -L$(HDF)/lib -lmfhdf -ldf -ljpeg -lz EXE= read_qscat2b SRCS= read_qscat2b.c # all: $(EXE) install: $(EXE) read_qscat2b: read_qscat2b.o $(CC) -o $@ $(CFLAGS) read_qscat2b.o $(LDFLAGS) man: clean: @rm -f core rm -f $(EXE) rm -f *.o