AR7 2.6.24, removed duplicate patches
[openwrt.git] / package / fonera-mp3 / src / Makefile
1 PROGS = mp3d
2
3 INSTDIR = $(prefix)/usr/bin
4 INSTMODE = 0755
5 INSTOWNER = root
6 INSTGROUP = root
7
8 OBJS = mp3_main.o lib/mp3_states.o lib/mp3_common.o lib/mp3_stream.o \
9 lib/mp3_file.o lib/mp3_nix_socket.o lib/mp3_socket_parser.o \
10 lib/mp3_misc.o lib/mp3_playtime.o lib/mp3_tcp_socket.o
11
12 all: $(PROGS)
13 $(PROGS): $(OBJS)
14 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
15 $(STRIP) $@
16
17 install: $(PROGS)
18 $(INSTALL) -d $(INSTDIR)
19 $(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR)
20
21 clean:
22 rm -f $(PROGS) *.o core
23 rm -f lib/$(PROGS) lib/*.o liob/core
24
This page took 0.042993 seconds and 5 git commands to generate.