Yet Another Malloc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
247 B

CC=`which gcc`
CPPFLAGS=-DYA_DEBUG
CFLAGS=--std=c11 -ggdb -Werror
all: yatest
test: yatest
./yatest
%.o: %.c
$(CC) -c $^ $(CPPFLAGS) $(CFLAGS)
yatest: yatest.o yamalloc.o ya_block.o
$(CC) -o $@ $^ $(CFLAGS)
clean:
rm -f *.o
rm -f yatest