# Joe Twicken/Stanford University - Magellan # 06/26/92 # # (415) 723-9382 # joe@neptune.stanford.edu # Very simple makefile for the SCVDR file reader test programs. As an # example, to make the testanf program type "make testanf" (without the # quotation marks) in response to a Unix prompt. Type "make all" to # compile all programs. # Set the debugger flag CC= cc CFLAGS= -g OBJECTS=scv_rdr.o testohf.o testanf.o testnff.o testif.o testedf.o testgmf.o TARGETS=testohf testanf testnff testif testedf testgmf # Specify program dependencies and construction commands all: $(TARGETS) testohf: testohf.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testohf.o scvparse.o scv_rdr.o testanf: testanf.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testanf.o scvparse.o scv_rdr.o testnff: testnff.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testnff.o scvparse.o scv_rdr.o testif: testif.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testif.o scvparse.o scv_rdr.o testedf: testedf.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testedf.o scvparse.o scv_rdr.o testgmf: testgmf.o scvparse.o scv_rdr.o $(CC) $(CFLAGS) -o $@ testgmf.o scvparse.o scv_rdr.o # Specify object dependencies $(OBJECTS): scv_rdr.i scvparse.i scvparse.h scvdr.h types.h scvparse.o: scvparse.i scvparse.h scvdr.h types.h clean: rm -f scvparse.o $(OBJECTS) $(TARGETS)