/[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.13 by teddy, Wed Mar 20 05:20:19 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="`echo '\''[ 1 2 ] a def; a rcl; a rcl; setcar; print;'\'' | ./stack | dd count=1 2>/dev/null`"; set -x; [ "$$a" = "[ #0# 2 ]" ]'
49            @$(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# ]" ]'
50    
51  TAGS: $(shell find $(srcdir) -path $(srcdir)/CVS -prune -o -name "*.[ch]" -print)  TAGS: $(shell find $(srcdir) -path $(srcdir)/CVS -prune -o -name "*.[ch]" -print)
52          etags $^          etags $^
53    
54  clean:  clean:
55          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
56    
57  mtrace: stack  mtrace: stack
58          MALLOC_TRACE=mtrace.log ./stack          MALLOC_TRACE=mtrace.log ./stack

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

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26