old-cross-binutils/binutils/testsuite/binutils-all/Makefile.in
Ian Lance Taylor 7f23bcab2c * VMS does not permits `.' in directory names. Renamed
binutils.all to binutils-all.
1994-09-29 16:46:53 +00:00

44 lines
1.1 KiB
Makefile

CFLAGS_FOR_TARGET =
CC_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
fi; \
fi`
CXX = gcc
CXX_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CXX); \
else \
t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
fi; \
fi`
#### host, target, and site specific Makefile frags come in here.
srcdir = .
all: bintest
bintest: $(srcdir)/bintest.c
$(CC_FOR_TARGET) $(CFLAGS_FOR_TARGET) $(CFLAGS) -g -o bintest $(srcdir)/bintest.c $(LDFLAGS)
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: