
# Copyright Notices

# This software was developed for use by the U.S. Government as
# represented by the Administrator of the National Aeronautics and
# Space Administration. No copyright is claimed in the United States
# under 17 U.S.C. 105.

# This software may be used, copied, and provided to others only as
# permitted under the terms of the contract or other agreement under
# which it was acquired from the U.S. Government.  Neither title to nor
# ownership of the software is hereby transferred.  This notice shall
# remain on all copies of the software.

include ../commonMakeOptions.imake

PARENT=$(patsubst %/,%,$(dir $(HERE)))

OBJECTS = TemporalNetwork.o DistanceGraph.o DispatchGraph.o queues.o

all: depend $(OBJECTS)
	echo $@ > $@

libTemporalNetwork.a: $(OBJECTS)
	$(AR) $@ $?
	$(RANLIB) $@

libTemporalNetwork.so: $(OBJECTS)
	$(LD) $(LDFLAG) -o $@ $(OBJECTS) $(LIBS)

clean:
	/bin/rm -f *.o *.so *.a all depend core clean

depend: *.cc makefile $(PARENT)/Includes/version.hh
	$(DEPEND)
	test -s $@

include depend
