f143fd8e36
implementation files from the test/malloc/ directory, leaving only test files there. Added headers, corrected a few minor documenational errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@571 a1c6a512-1295-4272-9138-f99709370657
36 lines
642 B
Makefile
36 lines
642 B
Makefile
|
|
OBJS1 = mytest.o
|
|
TARGET1 = mytest
|
|
|
|
OBJS2 = Malloc.o
|
|
TARGET2 = mtest
|
|
|
|
OBJS3 = dmytest.o
|
|
TARGET3 = dmytest
|
|
|
|
# define this to talk a lot in runtime
|
|
# -DDEBUG_VERBOSE
|
|
CFLAGS = -g -Wall -DDEBUG -I../../malloc
|
|
CC = gcc
|
|
AR = ar
|
|
|
|
LDFLAGS = -L../../malloc -ldmalloc
|
|
|
|
all: $(TARGET1) $(TARGET2) $(TARGET3)
|
|
|
|
clean:
|
|
rm -f core *~ $(TARGET1) $(TARGET2) $(TARGET3) \
|
|
$(OBJS1) $(OBJS2) $(OBJS3)
|
|
|
|
$(TARGET1): $(OBJS1)
|
|
$(CC) -g -o $(TARGET1) $(OBJS1) $(LDFLAGS)
|
|
|
|
$(TARGET2): $(OBJS2)
|
|
$(CC) -g -o $(TARGET2) $(OBJS2) $(LDFLAGS)
|
|
|
|
$(TARGET3): $(OBJS3)
|
|
$(CC) -g -o $(TARGET3) $(OBJS3) $(LDFLAGS)
|
|
|
|
dmytest.o: dmytest.c
|
|
Malloc.o: Malloc.c
|
|
mytest.o: mytest.c
|