#Boston MA 02111-1307, USA.
EXEEXT = @EXEEXT@
-PRJDIR = ../..
-TARGET = $(PRJDIR)/bin/sdcpp$(EXEEXT)
+TARGET = ../../bin/sdcpp$(EXEEXT)
+
+VPATH = @srcdir@
# This is the default target.
all: $(TARGET)
transform = @program_transform_name@
# Top build directory, relative to here.
-top_builddir = .
+top_builddir = @top_builddir@
# Whether we were configured with NLS.
USE_NLS = @USE_NLS@
distclean: clean
-rm -f auto-host.h auto-build.h cstamp-h Makefile
- -rm -f config.status config.run config.cache config.bak config.log *~
+ -rm -f configargs.h config.status config.run config.cache config.bak config.log *~
# This tells GNU Make version 3 not to put all variables in the environment.
.NOEXPORT:
#@build_overrides@
#\f
-INCLUDES = -I$(srcdir) -I$(LIBIBERTY_DIR)
+INCLUDES = -I$(srcdir) -I$(LIBIBERTY_DIR) -I.
# Always use -I$(srcdir)/config when compiling.
.c.o:
lbasename.o
$(TARGET): cppmain.o intl.o $(MY_LIBIBERTY_BITS) libcpp.a $(LIBDEPS)
+ mkdir -p $(dir $@)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ cppmain.o \
$(MY_LIBIBERTY_BITS) libcpp.a $(LIBS)