diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-22 21:58:48 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-22 21:58:48 +0000 |
commit | 513389b4c1bc8afe4b2dc9947c534bfeb105e3da (patch) | |
tree | 10e673b35651ac567fed2eda0c679c7ade64cbc6 /apps/plugins/pdbox/dbestfit-3.3/Makefile | |
parent | 95fa7f6a2ef466444fbe3fe87efc6d5db6b77b36 (diff) | |
download | rockbox-513389b4c1bc8afe4b2dc9947c534bfeb105e3da.tar.gz rockbox-513389b4c1bc8afe4b2dc9947c534bfeb105e3da.zip |
Add FS #10214. Initial commit of the original PDa code for the GSoC Pure Data plugin project of Wincent Balin. Stripped some non-sourcefiles and added a rockbox readme that needs a bit more info from Wincent. Is added to CATEGORIES and viewers, but not yet to SUBDIRS (ie doesn't build yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21044 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/dbestfit-3.3/Makefile')
-rw-r--r-- | apps/plugins/pdbox/dbestfit-3.3/Makefile | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/dbestfit-3.3/Makefile b/apps/plugins/pdbox/dbestfit-3.3/Makefile new file mode 100644 index 0000000000..e34b02e918 --- /dev/null +++ b/apps/plugins/pdbox/dbestfit-3.3/Makefile | |||
@@ -0,0 +1,76 @@ | |||
1 | |||
2 | OBJS1 = bmalloc.o bysize.o mytest.o | ||
3 | TARGET1 = mytest | ||
4 | |||
5 | OBJS2 = dmalloc.o bmalloc.o bysize.o Malloc.o | ||
6 | TARGET2 = mtest | ||
7 | |||
8 | OBJS3 = dmalloc.o bmalloc.o bysize.o dmytest.o | ||
9 | TARGET3 = dmytest | ||
10 | |||
11 | CFLAGS = -g -DUNIX -DBMALLOC -Wall -pedantic -DDEBUG | ||
12 | CC = gcc | ||
13 | |||
14 | all: $(TARGET1) $(TARGET2) $(TARGET3) | ||
15 | |||
16 | $(TARGET1): $(OBJS1) | ||
17 | $(CC) -g -o $(TARGET1) $(OBJS1) | ||
18 | |||
19 | $(TARGET2): $(OBJS2) | ||
20 | $(CC) -g -o $(TARGET2) $(OBJS2) | ||
21 | |||
22 | $(TARGET3): $(OBJS3) | ||
23 | $(CC) -g -o $(TARGET3) $(OBJS3) | ||
24 | |||
25 | bmalloc.o: bmalloc.c | ||
26 | dmalloc.o: dmalloc.c | ||
27 | mytest.o: mytest.c | ||
28 | dmytest.o: dmytest.c | ||
29 | Malloc.o : Malloc.c | ||
30 | bysize.o : bysize.c | ||
31 | |||
32 | tgz: | ||
33 | @(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.tar.gz; cd .. ; \ | ||
34 | tar -cf $$name.tar `cat $$name/FILES | sed "s:^/:$$name/:g"` ; \ | ||
35 | gzip $$name.tar ; chmod a+r $$name.tar.gz ; mv $$name.tar.gz $$name/) | ||
36 | |||
37 | clean: | ||
38 | rm -f *.o *~ $(TARGET1) $(TARGET2) $(TARGET3) | ||
39 | |||
40 | OBJS1 = bmalloc.o bysize.o mytest.o | ||
41 | TARGET1 = mytest | ||
42 | |||
43 | OBJS2 = dmalloc.o bmalloc.o bysize.o Malloc.o | ||
44 | TARGET2 = mtest | ||
45 | |||
46 | OBJS3 = dmalloc.o bmalloc.o bysize.o dmytest.o | ||
47 | TARGET3 = dmytest | ||
48 | |||
49 | CFLAGS = -g -DUNIX -DBMALLOC -Wall -pedantic -DDEBUG | ||
50 | CC = gcc | ||
51 | |||
52 | all: $(TARGET1) $(TARGET2) $(TARGET3) | ||
53 | |||
54 | $(TARGET1): $(OBJS1) | ||
55 | $(CC) -g -o $(TARGET1) $(OBJS1) | ||
56 | |||
57 | $(TARGET2): $(OBJS2) | ||
58 | $(CC) -g -o $(TARGET2) $(OBJS2) | ||
59 | |||
60 | $(TARGET3): $(OBJS3) | ||
61 | $(CC) -g -o $(TARGET3) $(OBJS3) | ||
62 | |||
63 | bmalloc.o: bmalloc.c | ||
64 | dmalloc.o: dmalloc.c | ||
65 | mytest.o: mytest.c | ||
66 | dmytest.o: dmytest.c | ||
67 | Malloc.o : Malloc.c | ||
68 | bysize.o : bysize.c | ||
69 | |||
70 | tgz: | ||
71 | @(dir=`pwd`;name=`basename $$dir`;echo Creates $$name.tar.gz; cd .. ; \ | ||
72 | tar -cf $$name.tar `cat $$name/FILES | sed "s:^/:$$name/:g"` ; \ | ||
73 | gzip $$name.tar ; chmod a+r $$name.tar.gz ; mv $$name.tar.gz $$name/) | ||
74 | |||
75 | clean: | ||
76 | rm -f *.o *~ $(TARGET1) $(TARGET2) $(TARGET3) | ||