rockbox/apps/plugins/pdbox/dbestfit-3.3/Makefile
Peter D'Hoye 526b5580da Cut the files in half and it might work better (note to self: check your tree is really clean before patching)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21070 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 21:28:16 +00:00

38 lines
844 B
Makefile

OBJS1 = bmalloc.o bysize.o mytest.o
TARGET1 = mytest
OBJS2 = dmalloc.o bmalloc.o bysize.o Malloc.o
TARGET2 = mtest
OBJS3 = dmalloc.o bmalloc.o bysize.o dmytest.o
TARGET3 = dmytest
CFLAGS = -g -DUNIX -DBMALLOC -Wall -pedantic -DDEBUG
CC = gcc
all: $(TARGET1) $(TARGET2) $(TARGET3)
$(TARGET1): $(OBJS1)
$(CC) -g -o $(TARGET1) $(OBJS1)
$(TARGET2): $(OBJS2)
$(CC) -g -o $(TARGET2) $(OBJS2)
$(TARGET3): $(OBJS3)
$(CC) -g -o $(TARGET3) $(OBJS3)
bmalloc.o: bmalloc.c
dmalloc.o: dmalloc.c
mytest.o: mytest.c
dmytest.o: dmytest.c
Malloc.o : Malloc.c
bysize.o : bysize.c
tgz:
@(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.tar.gz; cd .. ; \
tar -cf $$name.tar `cat $$name/FILES | sed "s:^/:$$name/:g"` ; \
gzip $$name.tar ; chmod a+r $$name.tar.gz ; mv $$name.tar.gz $$name/)
clean:
rm -f *.o *~ $(TARGET1) $(TARGET2) $(TARGET3)