+2003-04-24 Bernhard Held <bernhard@bernhardheld.de>
+
+ Cygwin's gcc always appends .exe: 'gcc -o a a.c' creates a.exe;
+ EXEEXT was introduced to fix all related problems with targets
+ "clean", "install" and "uninstall"; a couple of further flaws
+ especially with "clean" have been fixed too
+ * as/mcs51/Makefile.in
+ * as/mcs51/clean.mk
+ * as/z80/Makefile
+ * Makefile
+ * clean.mk
+ * debugger/mcs51/Makefile.in
+ * debugger/mcs51/clean.mk
+ * link/z80/Makefile
+ * link/z80/Makefile.in
+ * link/z80/clean.mk
+ * link/Makefile
+ * packihx/Makefile.in
+ * packihx/clean.mk
+ * sim/ucsim/Makefile
+ * sim/ucsim/clean.mk
+ * sim/ucsim/avr.src/Makefile.in
+ * sim/ucsim/avr.src/clean.mk
+ * sim/ucsim/s51.src/Makefile.in
+ * sim/ucsim/s51.src/clean.mk
+ * sim/ucsim/xa.src/Makefile.in
+ * sim/ucsim/xa.src/clean.mk
+ * sim/ucsim/z80.src/Makefile.in
+ * sim/ucsim/z80.src/clean.mk
+ * sim/ucsim/main_in.mk
+ * sim/ucsim/packages_in.mk
+ * sim/ucsim/gui.src/Makefile.in
+ * sim/ucsim/gui.src/serio.src/Makefile.in
+ * sim/ucsim/gui.src/serio.src/clean.mk
+ * src/Makefile.in
+ * src/clean.mk
+ * support/cpp2/Makefile.in
+ * support/cpp2/clean.mk
+ * support/makebin/Makefile
+ * support/makebin/clean.mk
+ * support/scripts/sdcc_mingw32: --program-suffix no longer needed
+ * doc/sdccman.lyx: --program-suffix no longer needed
+
2003-04-23 Karl Bongers(apply patches for Martin Helmling)
* debugger/mcs51/sdcdb.c,simi.c,cmd.c,..
$(MAKE) -f clean.mk clean
@echo "+ Cleaning packages in their directories..."
for pkg in $(PKGS); do\
- $(MAKE) PORTS="$(PORTS)" -C $$pkg -f clean.mk clean ;\
+ $(MAKE) PORTS="$(PORTS)" EXEEXT=$(EXEEXT) -C $$pkg -f clean.mk clean ;\
done
# Deleting all files created by configuring or building the program
$(MAKE) -f clean.mk distclean
@echo "+ DistCleaning packages using clean.mk..."
for pkg in $(PKGS); do\
- $(MAKE) -C $$pkg PORTS="$(PORTS)" -f clean.mk distclean ;\
+ $(MAKE) -C $$pkg PORTS="$(PORTS)" EXEEXT=$(EXEEXT) -f clean.mk distclean ;\
done
for pkg in $(SDCC_EXTRA); do \
$(MAKE) -C $$pkg clean; \
mostlyclean: clean
$(MAKE) -f clean.mk mostlyclean
for pkg in $(PKGS); do\
- $(MAKE) -C $$pkg -f clean.mk PORTS="$(PORTS)" mostlyclean ;\
+ $(MAKE) -C $$pkg -f clean.mk PORTS="$(PORTS)" EXEEXT=$(EXEEXT) mostlyclean ;\
done
realclean: distclean
$(MAKE) -f clean.mk realclean
for pkg in $(PKGS); do\
- $(MAKE) -C $$pkg -f clean.mk PORTS="$(PORTS)" realclean ;\
+ $(MAKE) -C $$pkg -f clean.mk PORTS="$(PORTS)" EXEEXT=$(EXEEXT) realclean ;\
done
man2dir = $(mandir)/man2
infodir = @info@
+EXEEXT = @EXEEXT@
+
CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR)
CFLAGS = @CFLAGS@ -Wall
M_OR_MM = @M_OR_MM@
lkstore.o lknoice.o lkmem.o lkaomf51.o strcmpi.o
LKSOURCES = $(patsubst %.o,%.c,$(LKOBJECTS))
-ASX8051 = $(PRJDIR)/bin/asx8051
-ASLINK = $(PRJDIR)/bin/aslink
+ASX8051 = $(PRJDIR)/bin/asx8051$(EXEEXT)
+ASLINK = $(PRJDIR)/bin/aslink$(EXEEXT)
transform = @program_transform_name@
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) $(ASX8051) `echo $(bindir)/asx8051|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/asx8051|sed '$(transform)'`
- $(INSTALL) $(ASLINK) `echo $(bindir)/aslink|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/aslink|sed '$(transform)'`
+ $(INSTALL) $(ASX8051) `echo $(bindir)/asx8051$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/asx8051$(EXEEXT)|sed '$(transform)'`
+ $(INSTALL) $(ASLINK) `echo $(bindir)/aslink$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/aslink$(EXEEXT)|sed '$(transform)'`
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/asx8051 $(bindir)/aslink
+ rm -f $(bindir)/asx8051$(EXEEXT) $(bindir)/aslink$(EXEEXT)
# Performing self-test
# Deleting all files created by building the program
# --------------------------------------------------
+include ../../Makefile.common
+PRJDIR = ../..
+
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f $(PRJDIR)/asx8051 $(PRJDIR)/aslink asx8051 aslink
+ rm -f $(PRJDIR)/bin/asx8051$(EXEEXT) $(PRJDIR)/bin/aslink$(EXEEXT) asx8051$(EXEEXT) aslink$(EXEEXT)
# Deleting all files created by configuring or building the program
OBJS = $(SRC:%.c=$(OBJDIR)/%.o)
SLIBOBJS = $(SLIBSRC:%.c=$(OBJDIR)/%.o)
-BINS = $(BUILDDIR)as$(EXT)
+BINS = $(BUILDDIR)as$(EXT)$(EXEEXT)
CFLAGS += $(CPPFLAGS) $(OPTS) -I. -DINDEXLIB -DMLH_MAP -DUNIX -DSDK
CFLAGS += -funsigned-char
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- -rm -f bin/*
+ find bin -type f ! -name README -exec rm {} \;
# Deleting all files created by configuring or building the program
# -----------------------------------------------------------------
M_OR_MM = @M_OR_MM@
LDFLAGS = @LDFLAGS@
+EXEEXT = @EXEEXT@
+
LIBS = @LIBS@
LIBDIRS =
$(PRJDIR)/support/Util/SDCCerr.o
SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
-TARGET = $(PRJDIR)/bin/sdcdb
+TARGET = $(PRJDIR)/bin/sdcdb$(EXEEXT)
# Compiling entire program or any subproject
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) $(TARGET) $(bindir)/sdcdb
- $(STRIP) $(bindir)/sdcdb
+ $(INSTALL) $(TARGET) $(bindir)/sdcdb$(EXEEXT)
+ $(STRIP) $(bindir)/sdcdb$(EXEEXT)
cp $(PRJDIR)/debugger/mcs51/sdcdb.el $(bindir)/sdcdb.el
cp $(PRJDIR)/debugger/mcs51/sdcdbsrc.el $(bindir)/sdcdbsrc.el
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/sdcdb
+ rm -f $(bindir)/sdcdb$(EXEEXT)
rm -f $(bindir)/sdcdb.el
rm -f $(bindir)/sdcdbsrc.el
# Deleting all files created by building the program
# --------------------------------------------------
+PRJDIR = ../..
+
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f $(PRJDIR)/bin/sdcdb \
+ rm -f $(PRJDIR)/bin/sdcdb$(EXEEXT) \
$(PRJDIR)/support/Util/SDCCerr.o
# Deleting all files created by configuring or building the program
---disable-ucsim
\backslash
-\layout LyX-Code
-
- ---program-suffix=
-\begin_inset Quotes srd
-\end_inset
-
-.exe
-\begin_inset Quotes srd
-\end_inset
-
-
-\backslash
-
\layout LyX-Code
---host=i586-mingw32msvc ---build=unknown-unknown-linux-gnu
$(MAKE) -C z80 _link-z80 _link-gbz80 E=$(E) BUILDDIR=../../bin/
install: all
- $(INSTALL) $(PRJDIR)/bin/link-z80 `echo $(bindir)/link-z80|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/link-z80|sed '$(transform)'`
- $(INSTALL) $(PRJDIR)/bin/link-gbz80 `echo $(bindir)/link-gbz80|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/link-gbz80|sed '$(transform)'`
+ $(INSTALL) $(PRJDIR)/bin/link-z80$(EXEEXT) `echo $(bindir)/link-z80$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/link-z80$(EXEEXT)|sed '$(transform)'`
+ $(INSTALL) $(PRJDIR)/bin/link-gbz80$(EXEEXT) `echo $(bindir)/link-gbz80$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/link-gbz80$(EXEEXT)|sed '$(transform)'`
uninstall:
- cd $(bindir); rm -f link-z80 link-gbz80
+ cd $(bindir); rm -f link-z80$(EXEEXT) link-gbz80$(EXEEXT)
include clean.mk
OBJS = $(SRC:%.c=$(OBJDIR)/%.o)
SLIBOBJS = $(SLIBSRC:%.c=$(OBJDIR)/%.o)
-BINS = $(BUILDDIR)link$(EXT)
+BINS = $(BUILDDIR)link$(EXT)$(EXEEXT)
CFLAGS += $(CPPFLAGS) $(OPTS) -DINDEXLIB -DMLH_MAP -DUNIX -DSDK
CFLAGS += -funsigned-char -DUNIX
PRJDIR = ../..
+EXEEXT = @EXEEXT@
+
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
lkgb.o lkgg.o
LKSOURCES = $(patsubst %.o,%.c,$(LKOBJECTS))
-LKZ80 = $(PRJDIR)/bin/link-z80
+LKZ80 = $(PRJDIR)/bin/link-z80$(EXEEXT)
# Compiling entire program or any subproject
# ------------------------------------------
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) $(LKZ80) $(bindir)/link-z80
+ $(INSTALL) $(LKZ80) $(bindir)/link-z80$(EXEEXT)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/link-z80
+ rm -f $(bindir)/link-z80$(EXEEXT)
# Performing self-test
# Deleting all files created by building the program
# --------------------------------------------------
+PRJDIR = ../..
+include $(PRJDIR)/Makefile.common
+
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f $(PRJDIR)/link-z80 link-z80
+ rm -f $(PRJDIR)/bin/link-z80$(EXEEXT) link-z80$(EXEEXT) \
+ $(PRJDIR)/bin/link-gbz80$(EXEEXT) link-gbz80$(EXEEXT)
rm -f *.dep
rm -rf obj
SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
-TARGET = $(PRJDIR)/bin/packihx
+TARGET = $(PRJDIR)/bin/packihx$(EXEEXT)
all: $(TARGET)
install: all installdirs
- $(INSTALL) $(TARGET) `echo $(bindir)/packihx|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/packihx|sed '$(transform)'`
+ $(INSTALL) $(TARGET) `echo $(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/packihx
+ rm -f $(bindir)/packihx$(EXEEXT)
# Performing self-test
# --------------------
+PRJDIR = ..
+
clean:
rm -f *core *[%~] *.[oa] *.output
rm -f .[a-z]*~ \#*
- rm -f packihx
+ rm -f $(PRJDIR)/bin/packihx$(EXEEXT)
distclean realclean: clean
rm -f config.* Makefile
# Deleting all files created by building the program
# --------------------------------------------------
clean:
- $(MAKE) -f clean.mk clean
+ $(MAKE) -f clean.mk clean EXEEXT=$(EXEEXT)
@for pkg in $(PKGS); do\
- $(MAKE) -C $$pkg -f clean.mk clean ;\
+ $(MAKE) -C $$pkg -f clean.mk clean EXEEXT=$(EXEEXT) ;\
done
PICOPT = @PICOPT@
SHAREDLIB = @SHAREDLIB@
+EXEEXT = @EXEEXT@
+
LIBS = @LIBS@ -L$(PRJDIR) -lsim -lutil -lsim -lcmd -lguiucsim
DL = @DL@
dl_ok = @dl_ok@
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) -s savr $(bindir)
+ $(INSTALL) -s savr$(EXEEXT) $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/savr
+ rm -f $(bindir)/savr$(EXEEXT)
# Performing self-test
# --------
.SUFFIXES: .asm .hex
-avr.src: savr shared_lib
+avr.src: savr$(EXEEXT) shared_lib
-savr: $(OBJECTS) $(PRJDIR)/*.a
- $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o savr
+savr$(EXEEXT): $(OBJECTS) $(PRJDIR)/*.a
+ $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $@
ifeq ($(dlso_ok),yes)
shared_lib: $(PRJDIR)/savr.so
clean:
rm -f *core *[%~] *.[oa] *.map
rm -f .[a-z]*~
- rm -f savr
+ rm -f savr$(EXEEXT)
# Deleting all files created by configuring or building the program
# Deleting all files created by building the program
# --------------------------------------------------
clean:
- rm -f *core *[%~] *.[oa] *.so ucsim
+ rm -f *core *[%~] *.[oa] *.so ucsim$(EXEEXT)
rm -f .[a-z]*~
# Deleting all the installed files
# --------------------------------
uninstall: uninstall_gui_api
+ifeq ($(curses_ok),yes)
@for pkg in $(PKGS); do\
cd $$pkg && $(MAKE) uninstall ; cd ..;\
done
+endif
uninstall_gui_api:
LIBS = @CURSES_LIBS@ @LIBS@
+EXEEXT = @EXEEXT@
+
curses_ok = @curses_ok@
prefix = @prefix@
all: serio.src
ifeq ($(curses_ok),yes)
-serio.src: checkconf serialview
+serio.src: checkconf serialview$(EXEEXT)
else
serio.src: checkconf
endif
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) -s serialview $(bindir)
+ $(INSTALL) -s serialview$(EXEEXT) $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/serialview
+ rm -f $(bindir)/serialview$(EXEEXT)
# Performing self-test
# My rules
# --------
-serialview: $(OBJECTS)
+serialview$(EXEEXT): $(OBJECTS)
$(CXX) -o $@ $(LDFLAGS) $(OBJECTS) $(LIBS)
.cc.o:
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f serialview
+ rm -f serialview$(EXEEXT)
# Deleting all files created by configuring or building the program
CXXFLAGS = @CXXFLAGS@ -I$(PRJDIR) -Wall
M_OR_MM = @M_OR_MM@
+EXEEXT = @EXEEXT@
+
LIB_LIST = util sim cmd sim
UCSIM_LIBS = $(patsubst %,-l%,$(LIB_LIST))
UCSIM_LIB_FILES = $(patsubst %,lib%.a,$(LIB_LIST))
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/s51
- rm -f $(bindir)/savr
- rm -f $(bindir)/serialview
- rm -f $(bindir)/portmon
+ rm -f $(bindir)/s51$(EXEEXT)
+ rm -f $(bindir)/savr$(EXEEXT)
+ rm -f $(bindir)/serialview$(EXEEXT)
+ rm -f $(bindir)/portmon$(EXEEXT)
# Performing self-test
+EXEEXT = @EXEEXT@
+
enable_51 = @enable_51@
enable_avr = @enable_avr@
enable_z80 = @enable_z80@
infodir = @infodir@
srcdir = @srcdir@
+EXEEXT = @EXEEXT@
+
OBJECTS_SHARED = glob.o sim51.o \
inc.o jmp.o mov.o logic.o arith.o bit.o \
timer0.o timer1.o timer2.o serial.o port.o interrupt.o \
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- if test -f s51.exe; then $(INSTALL) -s s51.exe $(bindir); $(STRIP) $(bindir)/s51.exe; fi
- if test -f s51; then $(INSTALL) -s s51 $(bindir); $(STRIP) $(bindir)/s51; fi
+ $(INSTALL) -s s51$(EXEEXT) $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/s51
+ rm -f $(bindir)/s51$(EXEEXT)
# Performing self-test
# --------
.SUFFIXES: .rel
-s51.src: s51 shared_lib
+s51.src: s51$(EXEEXT) shared_lib
-s51: $(OBJECTS) $(PRJDIR)/*.a
- $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o s51
+s51$(EXEEXT): $(OBJECTS) $(PRJDIR)/*.a
+ $(CXX) $(CXXFLAGS) $(OBJECTS) $(LIBS) -o $@
ifeq ($(dlso_ok),yes)
shared_lib: $(PRJDIR)/s51.so
endif
$(PRJDIR)/s51.so: $(OBJECTS_SHARED)
- $(CXX) -shared $(OBJECTS_SHARED) -o $(PRJDIR)/s51.so
+ $(CXX) -shared $(OBJECTS_SHARED) -o $@
otherlibs:
cd $(PRJDIR)/cmd.src && $(MAKE) all
rm -f *core *[%~] *.[oa]
rm -f test_*.??* '(null).cdb' *.lnk *.ihx
rm -f .[a-z]*~
- rm -f s51
+ rm -f s51$(EXEEXT)
# Deleting all files created by configuring or building the program
PRJDIR = ..
+EXEEXT = @EXEEXT@
+
DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) \
-I$(PRJDIR)/cmd.src -I$(PRJDIR)/sim.src -I$(PRJDIR)/gui.src
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) -s sxa $(bindir)
+ $(INSTALL) -s sxa$(EXEEXT) $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/sxa
+ rm -f $(bindir)/sxa$(EXEEXT)
# Performing self-test
# --------
.SUFFIXES: .asm .hex
-xa.src: sxa
+xa.src: sxa$(EXEEXT)
-sxa: $(OBJECTS) $(PRJDIR)/*.a
- $(CXX) $(CXXFLAGS) -o sxa $(OBJECTS) $(LIBS)
+sxa$(EXEEXT): $(OBJECTS) $(PRJDIR)/*.a
+ $(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LIBS)
otherlibs:
cd $(PRJDIR)/cmd.src && $(MAKE) all
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f sxa
+ rm -f sxa$(EXEEXT)
# Deleting all files created by configuring or building the program
PICOPT = @PICOPT@
SHAREDLIB = @SHAREDLIB@
+EXEEXT = @EXEEXT@
+
LIBS = @LIBS@ -L$(PRJDIR) -lutil -lsim -lutil -lcmd -lguiucsim
DL = @DL@
dl_ok = @dl_ok@
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) -s sz80 $(bindir)
+ $(INSTALL) -s sz80$(EXEEXT) $(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/sz80
+ rm -f $(bindir)/sz80$(EXEEXT)
# Performing self-test
# --------
.SUFFIXES: .asm .hex
-z80.src: sz80 shared_lib
+z80.src: sz80$(EXEEXT) shared_lib
-sz80: $(OBJECTS) $(PRJDIR)/*.a
- $(CXX) $(CXXFLAGS) -o sz80 $(OBJECTS) $(LIBS)
+sz80$(EXEEXT): $(OBJECTS) $(PRJDIR)/*.a
+ $(CXX) $(CXXFLAGS) -o $@ $(OBJECTS) $(LIBS)
ifeq ($(dlso_ok),yes)
shared_lib: $(PRJDIR)/sz80.so
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f sz80
+ rm -f sz80$(EXEEXT)
# Deleting all files created by configuring or building the program
# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) $(TARGET) `echo $(bindir)/sdcc|sed '$(transform)'`
- $(STRIP) `echo $(bindir)/sdcc|sed '$(transform)'`
+ $(INSTALL) $(TARGET) `echo $(bindir)/sdcc$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/sdcc$(EXEEXT)|sed '$(transform)'`
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/sdcc
+ rm -f $(bindir)/sdcc$(EXEEXT)
# Performing self-test
# --------------------
clean:
rm -f *core *[%~] *.[oa] *.output
rm -f .[a-z]*~ \#*
- rm -f $(PRJDIR)/bin/sdcc sdcc
+ rm -f $(PRJDIR)/bin/sdcc$(EXEEXT) sdcc$(EXEEXT)
for port in $(CLEANALLPORTS) ; do\
$(MAKE) -C $$port -f ../port-clean.mk clean ;\
done
clean:
rm -f *core *[%~] *.[oa]
rm -f .[a-z]*~
- rm -f $(PRJDIR)/bin/sdcpp
+ rm -f $(PRJDIR)/bin/sdcpp$(EXEEXT)
# Deleting all files created by configuring or building the program
PRJDIR = ../..
SOURCES = makebin.c
-BIN = $(PRJDIR)/bin/makebin
+BIN = $(PRJDIR)/bin/makebin$(EXEEXT)
include $(PRJDIR)/Makefile.common
install: all
mkdir -p $(bindir)
- $(INSTALL) $(BIN) `echo $(bindir)/makebin|sed '$(transform)'`
+ $(INSTALL) $(BIN) `echo $(bindir)/makebin$(EXEEXT)|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/makebin$(EXEEXT)|sed '$(transform)'`
uninstall:
- rm -f $(bindir)/makebin
+ rm -f $(bindir)/makebin$(EXEEXT)
include clean.mk
# Deleting all files created by building the program
# --------------------------------------------------
+PRJDIR = ../..
+
clean:
rm -rf obj
- rm -f *core *[%~] *.[oa] makebin
+ rm -f *core *[%~] *.[oa] $(PRJDIR)/bin/makebin$(EXEEXT)
rm -f *.[a-z]*~
# Deleting all files created by configuring or building the program
sdccconf_h_dir_separator=\\\\ \
--disable-device-lib-build \
--disable-ucsim \
---program-suffix=.exe \
--host=i586-mingw32msvc --build=unknown-unknown-linux-gnu"
./configure $SDCCCONFIGUREFLAGS