FreeCalypso > hg > e1-fake-trau
comparison Makefile @ 5:3604828b2f54
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Aug 2024 13:21:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:adcdbb2e30fe | 5:3604828b2f54 |
---|---|
1 PROGDIR=ft16 | |
2 LIBDIR= libutil | |
3 SUBDIR= ${PROGDIR} ${LIBDIR} | |
4 DESTDIR= | |
5 | |
6 all: ${SUBDIR} | |
7 | |
8 ft16: libutil | |
9 | |
10 ${SUBDIR}: FRC config.defs | |
11 cd $@; ${MAKE} ${MFLAGS} | |
12 | |
13 config.defs: | |
14 @echo 'You must run ./configure before make' | |
15 @false | |
16 | |
17 clean: FRC | |
18 rm -f a.out core errs | |
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
20 | |
21 install: FRC | |
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ | |
23 DESTDIR=${DESTDIR} install); done | |
24 | |
25 FRC: |