/[cvs]/stack/Makefile
ViewVC logotype

Diff of /stack/Makefile

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

revision 1.5 by teddy, Thu Mar 7 03:28:29 2002 UTC revision 1.7 by teddy, Sun Mar 10 07:55:13 2002 UTC
# Line 30  SHELL = /bin/sh Line 30  SHELL = /bin/sh
30  CFLAGS=-Wall -g  CFLAGS=-Wall -g
31  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic
32    
33  all: stack  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
# Line 41  mtrace: stack Line 41  mtrace: stack
41    
42  check:  stack  check:  stack
43          [ $(shell ./fib.st) = 832040 ]          [ $(shell ./fib.st) = 832040 ]
44    
45    TAGS: $(shell find . -iname "*.[ch]" -print)
46            etags $^

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26