/[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.11 by masse, Tue Mar 12 22:03:21 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 -pg -fprofile-arcs -ftest-coverage
31    CFLAGS=-Wall -g -O0
32    ## Linux
33  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic  LDFLAGS=-ldl -lmcheck -Xlinker --export-dynamic
34    ## Other junk
35    #LDFLAGS=-Xlinker --export-dynamic
36    
37  all: stack  all: stack TAGS
38    
39  stack: stack.c stack.h  stack: stack.c stack.h
40          $(CC) -I$(srcdir) $(CFLAGS) $(LDFLAGS) stack.c -o $@          $(CC) -I$(srcdir) $(CFLAGS) $(LDFLAGS) stack.c -o $@
# Line 40  mtrace: stack Line 44  mtrace: stack
44          mtrace stack mtrace.log          mtrace stack mtrace.log
45    
46  check:  stack  check:  stack
47          [ $(shell ./fib.st) = 832040 ]          [ $(shell ./fib.st) = 6765 ]
48    
49    TAGS: $(shell find . -iname "*.[ch]" -print)
50            etags $^

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

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26