/[cvs]/stack/Makefile
ViewVC logotype

Diff of /stack/Makefile

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

revision 1.6 by teddy, Sun Mar 10 06:00:01 2002 UTC revision 1.9 by teddy, Sun Mar 10 08:48:56 2002 UTC
# Line 27  SHELL = /bin/sh Line 27  SHELL = /bin/sh
27  .SUFFIXES: .c .o  .SUFFIXES: .c .o
28  ##  ##
29    
30  CFLAGS=-Wall -g  CFLAGS=-Wall -g -O0
31  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic
32    
33  all: stack TAGS  all: stack TAGS
34    
35  stack: stack.c stack.h  stack: stack.c stack.h
36          $(CC) -I$(srcdir) $(CFLAGS) $(LDFLAGS) stack.c -o $@          $(CC) -I$(srcdir) $(CFLAGS) $(LDFLAGS) -pg stack.c -o $@
37    
38  mtrace: stack  mtrace: stack
39          MALLOC_TRACE=mtrace.log ./stack          MALLOC_TRACE=mtrace.log ./stack
40          mtrace stack mtrace.log          mtrace stack mtrace.log
41    
42  check:  stack  check:  stack
43          [ $(shell ./fib.st) = 832040 ]          [ $(shell ./fib.st) = 610 ]
44    
45  TAGS: $(shell find . -iname "*.[ch]" -print)  TAGS: $(shell find . -iname "*.[ch]" -print)
46          etags $^          etags $^

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26