File: Makefile.devel

package info (click to toggle)
ffcall 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,808 kB
  • sloc: asm: 43,409; ansic: 23,224; sh: 5,383; makefile: 1,517; cpp: 2
file content (29 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This is the developer's -*-Makefile-*-, not the user's makefile.
# Do not use it unless you know exactly what you do!

# ============ Rules that require cross-compilation tools ============

precompiled : force
	cd avcall && $(MAKE) -f Makefile.devel precompiled
	cd vacall && $(MAKE) -f Makefile.devel precompiled
	cd trampoline && $(MAKE) -f Makefile.devel precompiled
	cd callback/vacall_r \
	  && $(MAKE) -f Makefile.devel precompiled
	cd callback/trampoline_r \
	  && $(MAKE) -f Makefile.maint copied-files \
	  && $(MAKE) -f Makefile.devel precompiled

# ==================== Targets for testing ====================

COMPILERS="cc -O" "gcc -freg-struct-return" "gcc -fpcc-struct-return"

multibuild : force
	for compiler in $(COMPILERS) ; do \
	  dir=build-`echo $$compiler | sed -e 's, ,,g' -e 's,/,_,g'`; \
	  mkdir $$dir; cd $$dir; \
	  CC="$$compiler" ../configure --srcdir=.. && make && make check; \
	  cd ..; \
	done


force :