annotate Makefile @ 2:5b69dfc789f2

top Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 11 Feb 2021 23:08:39 +0000
parents
children 2e4d02c1ee2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 PROGDIR=simtool
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libcommon
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 simtool: libcommon
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${SUBDIR}: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 cd $@; ${MAKE} ${MFLAGS}
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f a.out core errs
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install: FRC
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
5b69dfc789f2 top Makefile added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 FRC: