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

Jyrki Jaakkola jyrki at jjkola.tk
Wed Apr 16 20:49:08 UTC 2008


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

P.S. Sorry, the previous one was partly wrong as I forgot to clean
the directory entries.

Index: ecl/msvc/c/Makefile
--- ecl/msvc/c/Makefile	(revision 30)
+++ 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) $@

-	$(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

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
Ecls-list mailing list
Ecls-list at lists.sourceforge.net

More information about the ecl-devel mailing list