Commit 03e6df40 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

build: clean properly

parent 158f4a0f
...@@ -20,7 +20,7 @@ install: ...@@ -20,7 +20,7 @@ install:
clean: clean:
rm -f *.o *.a *.so $(TESTS) rm -f *.o *.a *.so $(TESTS)
rm -f *.mod.c rm -f *.mod.c .*.cmd
rm -rf L866 L865 L864 ppc rm -rf L866 L865 L864 ppc .tmp_versions
rm -f *.ko rm -f *.ko
rm -f Module.symvers rm -f Module.symvers modules.order
...@@ -32,5 +32,5 @@ install: ...@@ -32,5 +32,5 @@ install:
endif endif
clean: clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions modules.order Module.symvers
...@@ -18,5 +18,5 @@ lib$(DRIVER_NAME)$(EXTSO): $(OBJFILES) ...@@ -18,5 +18,5 @@ lib$(DRIVER_NAME)$(EXTSO): $(OBJFILES)
$(CC) -shared -Wl,-export-dynamic -Wl,-soname,$(@:%.so=%.so) -o $@ $(OBJFILES) $(CC) -shared -Wl,-export-dynamic -Wl,-soname,$(@:%.so=%.so) -o $@ $(OBJFILES)
clean: clean:
rm $(OBJFILES) *.a *.so rm -f $(OBJFILES) *.a *.so
...@@ -28,4 +28,5 @@ vme_sw_reset: vme_sw_reset.c $(LIBVMEBUS) ...@@ -28,4 +28,5 @@ vme_sw_reset: vme_sw_reset.c $(LIBVMEBUS)
write_ctrl_window: write_ctrl_window.c $(LIBVMEBUS) write_ctrl_window: write_ctrl_window.c $(LIBVMEBUS)
clean: clean:
$(RM) *.o *.a *.bak $(SRCS:.c=) $(RM) *.o *.a *.bak $(SRCS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment