#### host, target, and site specific Makefile frags come in here.

srcdir = .
CFLAGS = -g

.PHONY: all clean mostlyclean distclean realclean

all: gdbme

gdbme: gdbme.o
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o gdbme gdbme.o $(LIBS)

gdbme.o: gdbme.cc
	$(CXX) $(CXXFLAGS) -c $(srcdir)/gdbme.cc

clean mostlyclean:
	-rm -f *.o gdbme *.diff *~ *.bad core foo

distclean realclean: clean
	-rm -f Makefile config.status gdbme.c

Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
	$(SHELL) ./config.status
