source: trunk/devel/test.mak @ 1135

Last change on this file since 1135 was 1135, checked in by moo, 2 years ago

refactor: s/mem/allocator/

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 496 bytes
Line 
1#! /usr/bin/make -f
2
3EXES=allocator_test
4OBJS=allocator.o
5CC=gcc
6CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall
7TEST=valgrind
8
9all: allocator
10
11allocator_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
12    $(CC) $(CFLAGS) -o allocator_test xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c
13   
14allocator: allocator_test
15    $(TEST) ./allocator_test
16
17clean:
18    rm -f $(OBJS) $(EXES)
Note: See TracBrowser for help on using the repository browser.