--- Makefile.ori Thu Nov 29 18:48:05 2001 +++ Makefile Thu Nov 29 19:21:17 2001 @@ -7,6 +7,7 @@ # Note: If you are using Solaris, you MUST edit the Makefile to # uncomment the two Solaris lines below, and comment the SunOS line. # +# Nuk modify to be compiled in redhat 7.1! LIBS = -lm -lgb @@ -42,24 +43,22 @@ dfs.o: $(GH) - sgb2alt: $(CO) $(CC) $(CFLAGS) -o $(BDIR)/sgb2alt $(CO) $(LIBS) sgb2alt.o: $(CH) - -edriver: $(EO) - $(CC) $(CFLAGS) -o $(BDIR)/edriver $(EO) $(LIBS) - edriver.o: $(EH) eval.o: $(IDIR)/gb_graph.h $(IDIR)/gb_dijk.h $(IDIR)/eval.h + $(CC) $(CFLAGS) -c -o eval.o eval.c - +edriver: $(EO) + $(CC) $(CFLAGS) -o $(BDIR)/edriver $(EO) $(LIBS) + +.PHONY: clean veryclean clean: \rm -f *.o veryclean: clean \rm -f $(BDIR)/* -