/[cvs]/stack/Makefile
ViewVC logotype

Diff of /stack/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by teddy, Sun Mar 17 12:44:02 2002 UTC revision 1.14 by masse, Thu Mar 28 16:58:59 2002 UTC
# Line 42  stack stack.bb stack.bbg: stack.c stack. Line 42  stack stack.bb stack.bbg: stack.c stack.
42          $(CC) -I$(srcdir) $(LDFLAGS) $(CFLAGS) stack.c -o stack          $(CC) -I$(srcdir) $(LDFLAGS) $(CFLAGS) stack.c -o stack
43    
44  check:  stack  check:  stack
45          [ $(shell $(srcdir)/fib.st) = 6765 ]          @echo Checking...
46            @$(SHELL) -c 'a="`$(srcdir)/fib.st`"; set -x; [ "$$a" = 6765 ]'
47            @$(SHELL) -c 'a="`$(srcdir)/fib2.st`"; set -x; [ "$$a" = 6765 ]'
48            @$(SHELL) -c 'a="`$(srcdir)/fac.st`"; set -x; [ "$$a" = 3628800 ]'
49            @$(SHELL) -c 'a="`echo '\''[ 1 2 ] a def; a rcl; a rcl; setcar; print;'\'' | ./stack | dd count=1 2>/dev/null`"; set -x; [ "$$a" = "[ #0# 2 ]" ]'
50            @$(SHELL) -c 'a="`echo '\''[ 1 2 ] a def; a rcl; a rcl; setcdr; print;'\'' | ./stack | dd count=1 2>/dev/null`"; set -x; [ "$$a" = "[ 1 . #0# ]" ]'
51    
52  TAGS: $(shell find $(srcdir) -path $(srcdir)/CVS -prune -o -name "*.[ch]" -print)  TAGS: $(shell find $(srcdir) -path $(srcdir)/CVS -prune -o -name "*.[ch]" -print)
53          etags $^          etags $^
54    
55  clean:  clean:
56          rm -f mtrace.log stack.bb stack.bbg stack.da stack.c.gcov stack TAGS          rm -f gmon.out mtrace.log stack.bb stack.bbg stack.da stack.c.gcov stack TAGS
57    
58  mtrace: stack  mtrace: stack
59          MALLOC_TRACE=mtrace.log ./stack          MALLOC_TRACE=mtrace.log ./stack

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26