rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | gen_dir: |
2 | mkdir -p $(ROOT)/$(base_libdir) | ||||
3 | mkdir -p $(ROOT)/$(includedir)/$(NAME) | ||||
4 | |||||
5 | |||||
6 | install: gen_dir $(INSTALL) | ||||
7 | -cp -af lib$(NAME).* $(ROOT)/$(base_libdir)/ | ||||
8 | -cp -rf $(INCLUDES) $(ROOT)/$(includedir)/$(NAME) | ||||
9 | |||||
10 | |||||
11 | uninstall: $(UNINSTALL) | ||||
12 | rm -af $(ROOT)/$(base_libdir)/lib$(NAME).* | ||||
13 | rm -rf $(ROOT)/$(includedir)/$(NAME) | ||||
14 | |||||
15 |