FreeCalypso > hg > themwi-ota-tools
comparison Makefile @ 10:2c022e0334c4
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:03:40 +0000 |
parents | a33d4d8079d2 |
children |
comparison
equal
deleted
inserted
replaced
9:b6331ae4eea9 | 10:2c022e0334c4 |
---|---|
1 PROGDIR=gen smswrap test | 1 PROGDIR=gen smswrap test |
2 LIBDIR= libutil | 2 LIBDIR= libutil |
3 SUBDIR= ${PROGDIR} ${LIBDIR} | 3 SUBDIR= ${PROGDIR} ${LIBDIR} |
4 DESTDIR= | |
4 | 5 |
5 all: ${SUBDIR} | 6 all: ${SUBDIR} |
6 | 7 |
7 gen: libutil | 8 gen: libutil |
8 smswrap: libutil | 9 smswrap: libutil |
9 test: libutil | 10 test: libutil |
10 | 11 |
11 ${SUBDIR}: FRC | 12 ${SUBDIR}: FRC config.defs |
12 cd $@; ${MAKE} ${MFLAGS} | 13 cd $@; ${MAKE} ${MFLAGS} |
14 | |
15 config.defs: | |
16 @echo 'You must run ./configure before make' | |
17 @false | |
13 | 18 |
14 clean: FRC | 19 clean: FRC |
15 rm -f a.out core errs | 20 rm -f a.out core errs |
16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | 21 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
17 | 22 |
18 install: FRC | 23 install: FRC |
19 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done | 24 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
25 DESTDIR=${DESTDIR} install); done | |
20 | 26 |
21 FRC: | 27 FRC: |