File: test.mak

package info (click to toggle)
xcache 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,724 kB
  • sloc: ansic: 8,175; php: 4,557; awk: 285; sh: 135; makefile: 75
file content (21 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /usr/bin/make -f

EXES=mem_test
OBJS=mem.o
CC=gcc
CFLAGS=-g -O0 -D TEST -Wall
TEST=valgrind

all: mem

mem_test: mem.c
	$(CC) $(CFLAGS) -o mem_test mem.c
	
mem: mem_test
	$(TEST) ./mem_test

clean:
	rm -f $(OBJS) $(EXES)

leakcheck:
	valgrind php -c test.ini test.ini