Makefile updates for clean target

This commit is contained in:
mark 1999-11-04 08:08:39 +00:00
parent 9bbe747722
commit ce1c49fdd6
12 changed files with 41 additions and 16 deletions

View File

@ -1,6 +1,5 @@
LINUX = /usr/src/linux
PCMCIA = /usr/src/pcmcia-cs-3.0.13
MODULES_DIR=/lib/modules/2.2.5-15
UTS_RELEASE=2.2.5
MODULES_DIR=/lib/modules/2.2.9
INST_EXEDIR=/sbin
DESTDIR=

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -7,5 +7,7 @@ all:
install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -5,14 +5,19 @@ SHSRCS= ../shared/p80211types.c \
../shared/p80211metamsg.c \
../shared/p80211metamib.c
tstmeta : ../include/wlan/p80211types.h \
tstmeta: ../include/wlan/p80211types.h \
../include/wlan/p80211msg.h \
$(SHSRCS) \
tstmeta.c
cc -I ../include -D__I386__ -D__LINUX_WLAN__ -o tstmeta $(SHSRCS) tstmeta.c
tstmsg : ../include/wlan/p80211types.h \
tstmsg: ../include/wlan/p80211types.h \
../include/wlan/p80211msg.h \
$(SHSRCS) \
tstmsg.c
cc -I ../include -D__I386__ -D__LINUX_WLAN__ -o tstmsg $(SHSRCS) tstmsg.c
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -58,5 +58,6 @@ install:
cp -p wlanctl $(INST_EXEDIR)
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -8,4 +8,6 @@ install:
@echo "Nothing to do..."
clean:
@echo "Nothing to do..."
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

View File

@ -21,7 +21,11 @@ p80211.o: ../p80211/p80211.c
install:
cp -p wlandump $(INST_EXEDIR)
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~
endif
clean:
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done