sample: eliminate clever code to determine which proc file is accessed
[madwifi/.git] / regression / wep / Makefile
index faaa5283ecad3d7e7eb5951db426508d173b0bdd..9db5c74700f258640c993919b6c85e468bac5f7b 100644 (file)
@@ -1,10 +1,7 @@
 #
 # Makefile for the WEP regression test.
 #
-ifeq ($(obj),)
-obj=   .
-endif
-
+obj := $(firstword $(obj) $(SUBDIRS) .)
 TOP = $(obj)/../..
 
 obj-m                  += ath_test_wep.o
@@ -27,7 +24,7 @@ install:
 
 clean:
        -rm -f *~ *.o *.ko *.mod.c
-       -rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
+       -rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
        -rm -rf .tmp_versions
 
 ath_test_wep.o: $(ath_test_wep-objs)