[Ecls-list] [PATCH] Remove dpp.exe when cleaning

Jyrki Jaakkola jyrki at jjkola.tk
Wed Apr 16 20:46:24 UTC 2008


Hello,

Here is a patch for Makefiles to correct them so that `make clean`
will remove dpp regardless of build environment. After this patch
you will be able to change configs between successive builds without
resorting to manually cleaning build environment.

Jyrki Jaakkola

----
Index: H:/sources/Symbian/ecl/msvc/c/Makefile
===================================================================
--- H:/sources/Symbian/ecl/msvc/c/Makefile	(revision 30)
+++ H:/sources/Symbian/ecl/msvc/c/Makefile	(revision 31)
@@ -86,7 +86,7 @@
  	-for %f in ($(OBJS:.obj=.c) all_symbols.c) do $(RM) %f
  	-for %f in ($(OBJS) all_symbols.obj all_symbols2.obj) do $(RM) %f
  	-$(RM) *.pdb
-	-for %f in (..\ecl\config.h dpp dpp.obj $(DPP)
+	-for %f in (..\ecl\config.h dpp$(EXE) dpp.obj \
  	            ..\eclmin.lib ..\cinit.obj cinit.c symbols_list2.h) \
  	     do $(RM) %f
  	-for %f in (..\ecl\*.h) do $(RM) %f
Index: ecl/src/c/Makefile.in
===================================================================
--- ecl/src/c/Makefile.in	(revision 31)
+++ ecl/src/c/Makefile.in	(revision 32)
@@ -70,7 +70,7 @@
  	$(RANLIB) $@

  clean:
-	$(RM) dpp *.c *.h $(OBJS) ../libecl.a cinit.o core a.out
+	$(RM) dpp$(EXE) *.c *.h $(OBJS) ../libecl.a cinit.o core a.out

  # Build rules





More information about the ecl-devel mailing list