Skip to content
Snippets Groups Projects
Commit 74c1bcf8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix dangerous clean
parent 0bb7eedb
Branches
Tags
No related merge requests found
# $Id: Makefile,v 1.43 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.44 2008-01-23 07:45:27 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -42,7 +42,7 @@ ${LIB}: ${OBJ} Main${OBJEXT} ...@@ -42,7 +42,7 @@ ${LIB}: ${OBJ} Main${OBJEXT}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.154 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.155 2008-01-23 07:45:27 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -51,7 +51,7 @@ ${LIB}: ${OBJ} ...@@ -51,7 +51,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.42 2008-01-18 21:00:39 geuzaine Exp $ # $Id: Makefile,v 1.43 2008-01-23 07:45:27 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -44,7 +44,7 @@ ${LIB}: ${OBJ} ...@@ -44,7 +44,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.166 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.167 2008-01-23 07:45:28 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -55,7 +55,7 @@ res: ...@@ -55,7 +55,7 @@ res:
windres Win32Icon.rc -O coff Win32Icon.res windres Win32Icon.rc -O coff Win32Icon.res
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.179 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.180 2008-01-23 07:45:28 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -60,7 +60,7 @@ ${LIB}: ${OBJ} ...@@ -60,7 +60,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.136 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.137 2008-01-23 07:45:28 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -57,7 +57,7 @@ ${LIB}: ${OBJ} ...@@ -57,7 +57,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.197 2008-01-22 17:06:57 geuzaine Exp $ # $Id: Makefile,v 1.198 2008-01-23 07:45:28 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -70,7 +70,7 @@ BDS.o: ...@@ -70,7 +70,7 @@ BDS.o:
${CXX} ${FLAGS} ${INCLUDE} ${SYSINCLUDE} ${DASH}c BDS.cpp ${CXX} ${FLAGS} ${INCLUDE} ${SYSINCLUDE} ${DASH}c BDS.cpp
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.44 2008-01-22 17:06:58 geuzaine Exp $ # $Id: Makefile,v 1.45 2008-01-23 07:45:29 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -45,7 +45,7 @@ ${LIB}: ${OBJ} ...@@ -45,7 +45,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.40 2008-01-19 22:06:04 geuzaine Exp $ # $Id: Makefile,v 1.41 2008-01-23 07:45:29 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -39,7 +39,7 @@ ${LIB}: ${OBJ} ...@@ -39,7 +39,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.137 2008-01-22 17:06:58 geuzaine Exp $ # $Id: Makefile,v 1.138 2008-01-23 07:45:29 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -46,7 +46,7 @@ ${LIB}: ${OBJ} ...@@ -46,7 +46,7 @@ ${LIB}: ${OBJ}
# Don't optimize Gmsh.tab.o: on many architectures, g++ -O2 generates # Don't optimize Gmsh.tab.o: on many architectures, g++ -O2 generates
# assembly code too large to be addressed correctly # assembly code too large to be addressed correctly
Gmsh.tab.o: Gmsh.tab${OBJEXT}:
${CXX} ${FLAGS} ${INCLUDE} ${SYSINCLUDE} ${DASH}c Gmsh.tab.cpp ${CXX} ${FLAGS} ${INCLUDE} ${SYSINCLUDE} ${DASH}c Gmsh.tab.cpp
parser: parser:
...@@ -55,7 +55,7 @@ parser: ...@@ -55,7 +55,7 @@ parser:
flex -P gmsh_yy -oGmsh.yy.cpp Gmsh.l flex -P gmsh_yy -oGmsh.yy.cpp Gmsh.l
clean: clean:
rm -f *.o rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.144 2008-01-22 20:45:27 geuzaine Exp $ # $Id: Makefile,v 1.145 2008-01-23 07:45:29 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -60,7 +60,7 @@ ${LIB}: ${OBJ} ...@@ -60,7 +60,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.25 2008-01-22 17:06:58 geuzaine Exp $ # $Id: Makefile,v 1.26 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -49,7 +49,7 @@ ${LIB}: ${OBJ} ...@@ -49,7 +49,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.18 2008-01-19 00:49:08 geuzaine Exp $ # $Id: Makefile,v 1.19 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -55,7 +55,7 @@ ${LIB}: ${OBJ} ...@@ -55,7 +55,7 @@ ${LIB}: ${OBJ}
fi fi
clean: clean:
rm -f src/*${OBJEXT} rm -f src/*.o src/*.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.17 2008-01-19 00:12:38 geuzaine Exp $ # $Id: Makefile,v 1.18 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -50,7 +50,7 @@ parser: ...@@ -50,7 +50,7 @@ parser:
flex -oscanner.yy.cpp -Pme scanner.l flex -oscanner.yy.cpp -Pme scanner.l
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.13 2006-11-27 22:22:33 geuzaine Exp $ # $Id: Makefile,v 1.14 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -90,7 +90,7 @@ ${LIB}: ${OBJ} ...@@ -90,7 +90,7 @@ ${LIB}: ${OBJ}
${CC} ${CFLAGS} -c $< -o ${<:.c=.o} ${CC} ${CFLAGS} -c $< -o ${<:.c=.o}
clean: clean:
rm -f *.o rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.8 2008-01-22 17:06:58 geuzaine Exp $ # $Id: Makefile,v 1.9 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -50,7 +50,7 @@ ${LIB}: ${OBJ} ...@@ -50,7 +50,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.3 2008-01-19 01:08:15 geuzaine Exp $ # $Id: Makefile,v 1.4 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -38,7 +38,7 @@ ${LIB}: ${OBJ} ...@@ -38,7 +38,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.27 2008-01-22 20:44:36 geuzaine Exp $ # $Id: Makefile,v 1.28 2008-01-23 07:45:30 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -145,7 +145,7 @@ nglib_addon${OBJEXT}: ...@@ -145,7 +145,7 @@ nglib_addon${OBJEXT}:
${CXX} ${CFLAGS} ${DASH}c nglib_addon.cpp ${CXX} ${CFLAGS} ${DASH}c nglib_addon.cpp
clean: clean:
rm -f *${OBJEXT} libsrc/*/*${OBJEXT} rm -f *.o *.obj libsrc/*/*.o libsrc/*/*.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.8 2008-01-18 21:00:41 geuzaine Exp $ # $Id: Makefile,v 1.9 2008-01-23 07:45:31 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -38,7 +38,7 @@ ${LIB}: ${OBJ} ...@@ -38,7 +38,7 @@ ${LIB}: ${OBJ}
${CXX} ${CFLAGS} ${DASH}c $< ${CXX} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
# $Id: Makefile,v 1.8 2008-01-19 00:14:19 geuzaine Exp $ # $Id: Makefile,v 1.9 2008-01-23 07:45:31 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -41,7 +41,7 @@ ${LIB}: ${OBJ} ...@@ -41,7 +41,7 @@ ${LIB}: ${OBJ}
${CC} ${CFLAGS} ${DASH}c $< ${CC} ${CFLAGS} ${DASH}c $<
clean: clean:
rm -f *${OBJEXT} rm -f *.o *.obj
depend: depend:
(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \ (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment