linux-wlan-ng/Makefile

31 lines
745 B
Makefile
Raw Normal View History

DIRS = src doc man etc
1999-11-04 02:00:20 -05:00
help:
@echo "Pick one of the following targets:"
@echo -e "\tmake config\t\t- configure and check system setup"
@echo -e "\tmake all\t\t- build modules and programs"
@echo -e "\tmake install\t\t- install modules and programs"
@echo -e "\tmake clean\t\t- remove old binaries and dependency files"
1999-11-04 02:00:20 -05:00
all:
set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
clean:
touch config.mk
1999-11-04 02:00:20 -05:00
set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
1999-11-04 03:25:01 -05:00
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
rm -f config.mk
1999-11-04 03:25:01 -05:00
1999-11-04 02:00:20 -05:00
install:
set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
depmod -a
config:
@touch config.mk
@./Configure
1999-11-04 02:00:20 -05:00
tags:
ctags -R