/[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.8 by masse, Sun Mar 10 08:30:43 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  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.8

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26