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