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

srcdir = .

all: bintest

nmtest:         $(srcdir)/bintest.c Makefile
		@linkflags=`echo "${LDFLAGS}" | sed -e 's/-T.*m68k\.gld/-T.\/m68k.gld/'` ; \
		$(CC) $(CFLAGS) -g $$linkflags -o bintest $(srcdir)/bintest.c $(LIBS)

clean:
		-rm -f *.o bintest *.diff *~ *.bad core m68k.gld

distclean:	clean
		-rm -f Makefile config.status nmtest.c

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

force:
bintest.o: $(srcdir)/bintest.c
