diff --git a/README b/README index 572c08e..68cd402 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -C8051F32x firmware infrastructure -================================= +F328Xbase - C8051F32x firmware infrastructure +============================================= Copyright 2008-2010 Werner Almesberger diff --git a/lib/Makefile.common b/lib/Makefile.common index f75e939..12d163e 100644 --- a/lib/Makefile.common +++ b/lib/Makefile.common @@ -11,17 +11,18 @@ # -INSTALL_PREFIX=/usr/local +INSTALL_PREFIX = /usr/local -CFLAGS=-Wall -LDFLAGS=-lusb +CFLAGS = -Wall +LDFLAGS = +LDLIBS = -lusb .PHONY: all install uninstall clean spotless all: $(MAIN) $(MAIN): $(MAIN).o $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MAIN).o $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MAIN).o $(OBJS) $(LDLIBS) install: $(MAIN) install $(MAIN) $(INSTALL_PREFIX)/bin/