/[LeafOK_CVS]/lbbs/utils/Makefile.am
ViewVC logotype

Contents of /lbbs/utils/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Sat Jul 5 00:45:26 2025 UTC (8 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.7: +12 -3 lines
Refact Makefile to support make distcheck

1 EXTRA_DIST = bin conf lib
2 SUBDIRS=game
3
4 AM_CFLAGS = -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions
5
6 install-exec-local:
7 install -d $(prefix)/$(subdir)/bin $(prefix)/$(subdir)/lib
8 cd $(srcdir)/bin; find . -maxdepth 1 -type f -exec install -t $(prefix)/$(subdir)/bin {} \;
9 cd $(srcdir)/lib; find . -maxdepth 1 -type f -exec install -t $(prefix)/$(subdir)/lib {} \;
10
11 install-data-local:
12 install -d $(prefix)/$(subdir)/conf
13 cd $(srcdir)/conf; find . -maxdepth 1 -type f -exec install -t $(prefix)/$(subdir)/conf {} \;
14
15 uninstall-local:
16 cd $(srcdir)/bin; find . -type f -exec rm -f $(prefix)/$(subdir)/bin/{} \;
17 cd $(srcdir)/conf; find . -type f -exec rm -f $(prefix)/$(subdir)/conf/{} \;
18 cd $(srcdir)/lib; find . -type f -exec rm -f $(prefix)/$(subdir)/lib/{} \;

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1