|
Last change
on this file since 1135 was
1135,
checked in by moo, 10 months ago
|
|
refactor: s/mem/allocator/
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
|
File size:
496 bytes
|
| Rev | Line | |
|---|
| [52] | 1 | #! /usr/bin/make -f |
|---|
| [49] | 2 | |
|---|
| [1135] | 3 | EXES=allocator_test |
|---|
| 4 | OBJS=allocator.o |
|---|
| [49] | 5 | CC=gcc |
|---|
| [1135] | 6 | CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall |
|---|
| [49] | 7 | TEST=valgrind |
|---|
| 8 | |
|---|
| [1135] | 9 | all: allocator |
|---|
| [49] | 10 | |
|---|
| [1135] | 11 | 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 |
|---|
| 12 | $(CC) $(CFLAGS) -o allocator_test xcache/xc_allocator.c xcache/xc_malloc.c xcache/xc_allocator_bestfit.c util/xc_trace.c |
|---|
| [49] | 13 | |
|---|
| [1135] | 14 | allocator: allocator_test |
|---|
| 15 | $(TEST) ./allocator_test |
|---|
| [49] | 16 | |
|---|
| 17 | clean: |
|---|
| 18 | rm -f $(OBJS) $(EXES) |
|---|
Note: See
TracBrowser
for help on using the repository browser.