added libjson-c. added driver, webinterface and userspace daemon for the
[openwrt.git] / package / fonera-mp3 / src / cli / Makefile
1
2 PROGS = mplay
3
4 INSTDIR = $(prefix)/usr/bin
5 INSTMODE = 0755
6 INSTOWNER = root
7 INSTGROUP = root
8
9 OBJS = main.o
10
11 all: $(PROGS)
12 $(PROGS):
13 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o mplay main.c
14 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o mplay_tcp main_tcp.c
15 gcc -o mplay_tcp_native main_tcp.c
16 $(STRIP) mplay
17 $(STRIP) mplay_tcp
18
19 install: $(PROGS)
20 $(INSTALL) -d $(INSTDIR)
21 $(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR)
22 $(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS)_tcp $(INSTDIR)
23
24 clean:
25 rm -f $(PROGS) *.o core
26
This page took 0.045243 seconds and 5 git commands to generate.