annotate Makefile @ 14:78319ed870dc

convert to new ThemWi configure and build system
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 21 May 2024 00:15:24 +0000
parents 3d6cfb615d90
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
3d6cfb615d90 add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
1 SUBDIR= include libnumdb libnumutil utils
14
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
2 DESTDIR=
10
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all: ${SUBDIR}
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 utils: libnumdb libnumutil
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
14
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
8 ${SUBDIR}: FRC config.defs
10
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 cd $@; ${MAKE} ${MFLAGS}
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
14
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
11 config.defs:
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
12 @echo 'You must run ./configure before make'
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
13 @false
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
14
11
3d6cfb615d90 add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
15 install: FRC
3d6cfb615d90 add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
14
78319ed870dc convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
17 DESTDIR=${DESTDIR} install); done
11
3d6cfb615d90 add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
18
10
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean: FRC
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f a.out core errs
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
05a94b08c8e1 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 FRC: