blob: 7a35c26f3fdd0c85ce63528e7770652d4d26df0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PROJECT=ihe
CC=gcc
CFLAGS=
SOURCES=buf.c cmd.c core.c
OBJECTS=$(SOURCES:.c=.o)
all: clean $(OBJECTS) $(PROJECT)
$(PROJECT):
$(CC) $(CFLAGS) $(OBJECTS) $(PROJECT).c -o $(PROJECT)
%.o: %.c
$(CC) $(CFLAGS) -c $<
clean:
rm -f $(PROJECT)
rm -f *.o
leak:
valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./ihe
#valgrind --track-origins=yes --log-file=log.txt ./dm -f test/test.bin -m test/one_byte.dm
|