rockbox/apps/plugins/pdbox/PDa/intern/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

25 lines
354 B
Makefile

SOURCE = $(shell ls *.c)
TARGETS = $(SOURCE:.c=.pd_linux)
EXT= pd_linux
CFLAGS += -O2 -I../src -DFIXEDPOINT
EFLAGS = -shared -Wl,-export-dynamic
all: $(TARGETS)
clean:
-rm $(TARGETS)
-rm *.o *~
install:
install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
%.$(EXT) : %.o
$(CC) -o $@ $(EFLAGS) $+