projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* device/lib/pic16/Makefile.common.in: added $(MM) to fix `make clean`
[fw/sdcc]
/
support
/
cpp2
/
Makefile.in
diff --git
a/support/cpp2/Makefile.in
b/support/cpp2/Makefile.in
index 4871fec1c8d193675e809acb1c828435056ba16a..44d747a6f1caff05fba08ce001034d2172d58443 100644
(file)
--- a/
support/cpp2/Makefile.in
+++ b/
support/cpp2/Makefile.in
@@
-22,8
+22,9
@@
#the Free Software Foundation, 59 Temple Place - Suite 330,
#Boston MA 02111-1307, USA.
#the Free Software Foundation, 59 Temple Place - Suite 330,
#Boston MA 02111-1307, USA.
+EXEEXT = @EXEEXT@
PRJDIR = ../..
PRJDIR = ../..
-TARGET = $(PRJDIR)/bin/sdcpp
+TARGET = $(PRJDIR)/bin/sdcpp
$(EXEEXT)
# This is the default target.
all: $(TARGET)
# This is the default target.
all: $(TARGET)
@@
-34,9
+35,11
@@
srcdir = @srcdir@
LIBS = @LIBS@
LIBS = @LIBS@
+CFLAGS = @CFLAGS@
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) \
$(CFLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) \
$(CFLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
+LDFLAGS = @LDFLAGS@
CC = @CC@
AR = ar
CC = @CC@
AR = ar
@@
-105,9
+108,12
@@
OBSTACK=obstack.o
# End of variables for you to override.
install: all
# End of variables for you to override.
install: all
- $(INSTALL) $(TARGET) `echo $(bindir)/sdcpp|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/sdcpp|sed '$(transform)'`
+ mkdir -p $(DESTDIR)$(bindir)
+ $(INSTALL) $(TARGET) `echo $(DESTDIR)$(bindir)/sdcpp$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(DESTDIR)$(bindir)/sdcpp$(EXEEXT)|sed '$(transform)'`
+uninstall:
+ rm -f $(DESTDIR)$(bindir)/sdcpp$(EXEEXT)
clean:
-rm -f $(TARGET) *.o core libcpp.a
clean:
-rm -f $(TARGET) *.o core libcpp.a
@@
-126,17
+132,17
@@
SYSTEM_H = system.h hwint.h
# sed inserts variable overrides after the following line.
####target overrides
# sed inserts variable overrides after the following line.
####target overrides
-@target_overrides@
+
#
@target_overrides@
####host overrides
####host overrides
-@host_overrides@
+
#
@host_overrides@
####cross overrides
####cross overrides
-@cross_defines@
-@cross_overrides@
+
#
@cross_defines@
+
#
@cross_overrides@
####build overrides
####build overrides
-@build_overrides@
+
#
@build_overrides@
#
\f
INCLUDES = -I$(srcdir) -I$(LIBIBERTY_DIR)
#
\f
INCLUDES = -I$(srcdir) -I$(LIBIBERTY_DIR)