diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | balkan/Makefile | 2 | ||||
-rw-r--r-- | gnome-map/Makefile | 3 | ||||
-rw-r--r-- | isys/Makefile | 2 | ||||
-rw-r--r-- | loader/kon2/src/Makefile | 2 | ||||
-rw-r--r-- | utils/Makefile | 2 |
6 files changed, 9 insertions, 5 deletions
@@ -23,7 +23,8 @@ _xkb.so: xkb.c gcc -Wall -o _xkb.o -fPIC -I/usr/include/python1.5 `gtk-config --cflags gtk` -c xkb.c gcc -o _xkb.so -shared _xkb.o /usr/X11R6/lib/libxkbfile.a `gtk-config --libs gtk` -clean: +clean: + rm -f *.o *.so *.pyc for d in $(ALLSUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d clean; done subdirs: diff --git a/balkan/Makefile b/balkan/Makefile index 9ed6826d8..d4942de58 100644 --- a/balkan/Makefile +++ b/balkan/Makefile @@ -15,7 +15,7 @@ _balkanmodule.o: _balkanmodule.c balkan.h libbalkan.a: libbalkan.a($(OBJECTS)) clean: - rm -f *.o $(TARGET) + rm -f *.o *.so $(TARGET) dos.o: dos.h diff --git a/gnome-map/Makefile b/gnome-map/Makefile index e2f7af72e..60765fdc4 100644 --- a/gnome-map/Makefile +++ b/gnome-map/Makefile @@ -14,3 +14,6 @@ gglobe-canvas: gglobe-canvas.c gnome-map.o gnome-canvas-dot.o gglobe-canvas.o gn timezonemapmodule.so: gnome-map.o gnome-canvas-dot.o timezonemapmodule.o gnome-map.h timezones.o timezones.h gcc -o timezonemapmodule.so -shared gnome-map.o gnome-canvas-dot.o timezonemapmodule.o timezones.o $(LDFLAGS) + +clean: + rm -f *.so *.o *~ diff --git a/isys/Makefile b/isys/Makefile index c90f523b7..8f5dcb808 100644 --- a/isys/Makefile +++ b/isys/Makefile @@ -15,7 +15,7 @@ _isys.so: isys.o $(OBJECTS) $(STATICLIBS) libisys.a: libisys.a($(OBJECTS) $(STATICOBJS)) clean: - rm -f *.o $(TARGET) $(OBJECTS) + rm -f *.o *.so *.a $(TARGET) $(OBJECTS) for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) -C $$d clean; done install: all diff --git a/loader/kon2/src/Makefile b/loader/kon2/src/Makefile index 3fc4f64b4..b101a0ebe 100644 --- a/loader/kon2/src/Makefile +++ b/loader/kon2/src/Makefile @@ -27,7 +27,7 @@ subdirs: done clean: - $(RM) -f *.o $(KON) *~ .depend + $(RM) -f *.o *.a $(KON) *~ .depend @for i in $(SUBDIRS);\ do (cd $$i && echo cleaning all in $$i && $(MAKE) clean) || exit;\ done diff --git a/utils/Makefile b/utils/Makefile index 66b41b279..484078250 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -15,4 +15,4 @@ install: @echo "nothing to do" clean: - rm -f modlist + rm -f modlist *.o |