diff options
author | John Crispin <john@openwrt.org> | 2007-08-27 20:10:35 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-08-27 20:10:35 +0000 |
commit | 6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9 (patch) | |
tree | 6d85567a32ef8e795cc4d88fdd545819577d6ad2 /package/fonera-mp3/src/cli/Makefile | |
parent | 79b07af6945064e53ad7c3f0920dabd73cdbd161 (diff) | |
download | upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.tar.gz upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.tar.bz2 upstream-6c0f55bc68f3d3a7fdd00e61ea7caf2ed4c620a9.zip |
added libjson-c. added driver, webinterface and userspace daemon for the fonera mp3-hack
SVN-Revision: 8509
Diffstat (limited to 'package/fonera-mp3/src/cli/Makefile')
-rw-r--r-- | package/fonera-mp3/src/cli/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/fonera-mp3/src/cli/Makefile b/package/fonera-mp3/src/cli/Makefile new file mode 100644 index 0000000000..e6aa0df92f --- /dev/null +++ b/package/fonera-mp3/src/cli/Makefile @@ -0,0 +1,26 @@ + +PROGS = mplay + +INSTDIR = $(prefix)/usr/bin +INSTMODE = 0755 +INSTOWNER = root +INSTGROUP = root + +OBJS = main.o + +all: $(PROGS) +$(PROGS): + $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o mplay main.c + $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o mplay_tcp main_tcp.c + gcc -o mplay_tcp_native main_tcp.c + $(STRIP) mplay + $(STRIP) mplay_tcp + +install: $(PROGS) + $(INSTALL) -d $(INSTDIR) + $(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR) + $(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS)_tcp $(INSTDIR) + +clean: + rm -f $(PROGS) *.o core + |