mirror of
git://projects.qi-hardware.com/f32xbase.git
synced 2024-11-23 22:27:11 +02:00
Put libraries at end of linker invocation to make it work with local
libraries. Some minor cleanup. - lib/Makefile.common: introduced LDLIBS to place libraries at the end of the $(LD) command line - lib/Makefile.common: put spaces around assignments - README: added short name of project to title
This commit is contained in:
parent
2a5850591c
commit
fa7fb48296
4
README
4
README
@ -1,5 +1,5 @@
|
|||||||
C8051F32x firmware infrastructure
|
F328Xbase - C8051F32x firmware infrastructure
|
||||||
=================================
|
=============================================
|
||||||
|
|
||||||
Copyright 2008-2010 Werner Almesberger
|
Copyright 2008-2010 Werner Almesberger
|
||||||
|
|
||||||
|
@ -14,14 +14,15 @@
|
|||||||
INSTALL_PREFIX = /usr/local
|
INSTALL_PREFIX = /usr/local
|
||||||
|
|
||||||
CFLAGS = -Wall
|
CFLAGS = -Wall
|
||||||
LDFLAGS=-lusb
|
LDFLAGS =
|
||||||
|
LDLIBS = -lusb
|
||||||
|
|
||||||
.PHONY: all install uninstall clean spotless
|
.PHONY: all install uninstall clean spotless
|
||||||
|
|
||||||
all: $(MAIN)
|
all: $(MAIN)
|
||||||
|
|
||||||
$(MAIN): $(MAIN).o $(OBJS)
|
$(MAIN): $(MAIN).o $(OBJS)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MAIN).o $(OBJS)
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MAIN).o $(OBJS) $(LDLIBS)
|
||||||
|
|
||||||
install: $(MAIN)
|
install: $(MAIN)
|
||||||
install $(MAIN) $(INSTALL_PREFIX)/bin/
|
install $(MAIN) $(INSTALL_PREFIX)/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user