URL
https://opencores.org/ocsvn/gecko3/gecko3/trunk
Subversion Repositories gecko3
[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [gecko3-util/] [Makefile] - Rev 9
Compare with Previous | Blame | View Log
INSTALL_LOCATION=/usr/local
.c.o :
cc -I . -c $<
all: gecko3-util
gecko3-util: gecko3-util.o
cc -o $@ gecko3-util.o -L. -lusb
install: gecko3-util-install
gecko3-util-install:
mkdir -p $(INSTALL_LOCATION)/bin
cp gecko3-util $(INSTALL_LOCATION)/bin
chmod 755 $(INSTALL_LOCATION)/bin/gecko3-util
clean:
rm -f *.o gecko3-util