XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
496 B

  1. #! /usr/bin/make -f
  2. EXES=allocator_test
  3. OBJS=allocator.o
  4. CC=gcc
  5. CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall
  6. TEST=valgrind
  7. all: allocator
  8. allocator_test: xcache/xc_allocator.h xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c util/xc_trace.h
  9. $(CC) $(CFLAGS) -o allocator_test xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c
  10. allocator: allocator_test
  11. $(TEST) ./allocator_test
  12. clean:
  13. rm -f $(OBJS) $(EXES)