/[pcre]/code/trunk/Makefile
ViewVC logotype

Diff of /code/trunk/Makefile

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

revision 22 by nigel, Sat Feb 24 21:38:13 2007 UTC revision 23 by nigel, Sat Feb 24 21:38:41 2007 UTC
# Line 12  Line 12 
12  # lacks the strerror() function, but can provide the equivalent by indexing  # lacks the strerror() function, but can provide the equivalent by indexing
13  # into errlist.  # into errlist.
14    
15    AR = ar cq
16  CC = gcc -O2 -Wall  CC = gcc -O2 -Wall
17  CFLAGS =  CFLAGS =
18  RANLIB = @true  RANLIB = @true
# Line 30  pcretest: libpcre.a libpcreposix.a Line 31  pcretest: libpcre.a libpcreposix.a
31    
32  libpcre.a:      $(OBJ)  libpcre.a:      $(OBJ)
33                  /bin/rm -f libpcre.a                  /bin/rm -f libpcre.a
34                  ar cq libpcre.a $(OBJ)                  $(AR) libpcre.a $(OBJ)
35                  $(RANLIB) libpcre.a                  $(RANLIB) libpcre.a
36    
37  libpcreposix.a: pcreposix.o  libpcreposix.a: pcreposix.o
38                  /bin/rm -f libpcreposix.a                  /bin/rm -f libpcreposix.a
39                  ar cq libpcreposix.a pcreposix.o                  $(AR) libpcreposix.a pcreposix.o
40                  $(RANLIB) libpcreposix.a                  $(RANLIB) libpcreposix.a
41    
42  pcre.o:         pcre.c pcre.h internal.h Makefile  pcre.o:         pcre.c pcre.h internal.h Makefile
43                  $(CC) -c $(CFLAGS) pcre.c                  $(CC) -c $(CFLAGS) pcre.c
44    
45  pcreposix.o:    pcreposix.c pcreposix.h internal.h Makefile  pcreposix.o:    pcreposix.c pcreposix.h internal.h pcre.h Makefile
46                  $(CC) -c $(CFLAGS) pcreposix.c                  $(CC) -c $(CFLAGS) pcreposix.c
47    
48  chartables.o:   chartables.c  chartables.o:   chartables.c
# Line 70  maketables: maketables.c Makefile Line 71  maketables: maketables.c Makefile
71    
72  clean:;         /bin/rm -f *.o *.a pcretest pgrep  clean:;         /bin/rm -f *.o *.a pcretest pgrep
73    
 # Run the tests  
   
74  runtest:        all  runtest:        all
75                  ./pcretest testinput testtry                  ./RunTest
                 diff testtry testoutput  
                 ./pcretest -i testinput2 testtry  
                 diff testtry testoutput2  
                 rm -f testtry  
76    
77  # End  # End

Legend:
Removed from v.22  
changed lines
  Added in v.23

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12