Last change
on this file since 1135 was
1135,
checked in by Xuefer, 6 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 | |
---|
3 | EXES=allocator_test |
---|
4 | OBJS=allocator.o |
---|
5 | CC=gcc |
---|
6 | CFLAGS=-g -O0 -I. -D TEST -D HAVE_XCACHE_TEST -Wall |
---|
7 | TEST=valgrind |
---|
8 | |
---|
9 | all: allocator |
---|
10 | |
---|
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 |
---|
13 | |
---|
14 | allocator: allocator_test |
---|
15 | $(TEST) ./allocator_test |
---|
16 | |
---|
17 | clean: |
---|
18 | rm -f $(OBJS) $(EXES) |
---|
Note: See
TracBrowser
for help on using the repository browser.