dslinux/user/mpc/src Makefile
stsp
stsp at user.in-berlin.de
Mon Aug 21 17:50:11 CEST 2006
Update of /cvsroot/dslinux/dslinux/user/mpc/src
In directory antilope:/tmp/cvs-serv23058/src
Added Files:
Makefile
Log Message:
Adding Makefiles that compile mpc for dslinux.
Thanks to Totoro for creating and submitting them!
--- NEW FILE: Makefile ---
# Makefile for mpc part 2
#
# Originally based from hexedit Makefile
#
# (by Tuna)
INCL = charConv.h libmpdclient.h mpc.h password.h util.h command.h list.h options.h status.h ../config.h
SRCS = charConv.c libmpdclient.c main.c password.c util.c command.c list.c options.c status.c
OBJS = $(SRCS:.c=.o)
PRODUCT = mpc
.SUFFIXES: .c .o
.c.o:
$(CC) $(DEFS) $(CFLAGS) -c $<
all: $(PRODUCT)
$(PRODUCT): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
romfs:
$(ROMFSINST) /bin/$(PRODUCT)
clean:
rm -rf *~ *.o core *.cache config.status config.log $(PRODUCT) $(PRODUCT).gdb
#distclean: clean
# rm -f Makefile config.h
install: $(PRODUCT)
$(INSTALL) -d -m 755 $(bindir)
$(INSTALL) -s -m 755 $(PRODUCT) $(bindir)
$(INSTALL) -d -m 755 $(mandir)/man1
$(INSTALL) -m 644 $(PRODUCT).1 $(mandir)/man1
More information about the dslinux-commit
mailing list