-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
22 lines (22 loc) · 1018 Bytes
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Makefile fragment for modelgen-verilog
# ... for use with configure & GNU Make aka. "gmake"
# Author: Felix Salfelder 2024
#-----------------------------------------------------------------------------
include ${srcdir}/MakeList
RECURSIVE_TARGETS = all install clean depend makefiles
#-----------------------------------------------------------------------------
${RECURSIVE_TARGETS:%=%-recursive}: %-recursive:
for i in ${SUBDIRS}; do \
$(MAKE) -C $${i} $* || exit 1; \
done
#-----------------------------------------------------------------------------
${RECURSIVE_TARGETS}: %: %-recursive
#-----------------------------------------------------------------------------
check: all
${MAKE} -C tests check
#-----------------------------------------------------------------------------
retest: check-git
${MAKE} -f Makefile $@
#-----------------------------------------------------------------------------
.PHONY: ${RECURSIVE_TARGETS} ${RECURSIVE_TARGETS:%=%-recursive} \
install install-here check all