COMMONDEFS = /mit/6.170/include/make/commondefs
include $(COMMONDEFS)

C++FILES = path_server.C pathfinder.C
LC++OPTS = -fexternal-templates

PROGRAM = pathfinder
LIBRARY = libps4.a
TARGETS = $(PROGRAM) tester
LLDLIBS = -lps4

#default: $(PROGRAM) 
default: tester
all: $(TARGETS)

$(PROGRAM): main.o path_server.o path_server.h
	$(C++F) -o $@ main.o path_server.o $(LDFLAGS) 

tester: tester.o path_server.o path_server.h
	$(C++) -o $@ tester.o path_server.o $(LDFLAGS) 	     

include $(COMMONRULES)
