2 # Copyright 2002 (c) Leiden University, LIACS,
5 # Permission is granted to copy, use, and distribute
6 # for any commercial or noncommercial purpose under the terms
7 # of the GNU General Public license, version 2, June 1991
8 # (see file : ../LICENSE).
10 # @author: Bart Kienhuis
11 # $Id: makefile,v 1.26 2002/09/26 13:03:53 kienhuis Exp $
13 # ndCed: useful line for names with their extensions:
14 # diff -w xyz `basename $$x .dat`.ll ;
17 # pbs with boulet bouleti and dirk
60 @echo
" /*-----------------------------------------------*"
61 @echo
" * Generate files *"
62 @echo
" *-----------------------------------------------*/"
63 for x in
$(PIPTEST
) ; do \
64 echo
"Generate $$x.ll" ; \
65 pip64
$$x.dat
$$x.ll
; \
69 @echo
" /*-----------------------------------------------*"
70 @echo
" * Testing PIP *"
71 @echo
" *-----------------------------------------------*/"
73 for x in
$(PIPTEST
) ; do \
74 echo
"Verify file $$x" ; \
75 $(ROOT
)/obj
$(BITS
)_
$(TARGET
)/pip
$(BITS
)$(EXEC_SUFFIX
) $$x.dat
> xyz
;\
76 diff
-w xyz
$$x.ll
; \
78 if
[ "$$result" -eq
"1" ]; then \
79 echo
"Error: $$x is not the same"; \
80 failedtest
=`expr $$failedtest + 1`; \
86 if
[ $$failedtest != 0 ]; then \
87 echo
"$$failedtest tests failed"; \
89 echo
"PIP works correctly :-)"; \
92 # Include the shared compilation rules
93 include $(ROOT
)/Makefile