annotate Makefile @ 6:3ab5e2e17da2 default tip

add README
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Aug 2024 14:56:30 +0000
parents 3604828b2f54
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 PROGDIR=ft16
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libutil
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 DESTDIR=
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${SUBDIR}
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ft16: libutil
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${SUBDIR}: FRC config.defs
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 cd $@; ${MAKE} ${MFLAGS}
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 config.defs:
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 @echo 'You must run ./configure before make'
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 @false
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean: FRC
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f a.out core errs
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 install: FRC
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 DESTDIR=${DESTDIR} install); done
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
3604828b2f54 add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 FRC: