1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-10-02 18:48:12 +03:00
ben-blinkenlights/swuart/Makefile
Werner Almesberger 2e749f901c swuart/: split general UART functions from application
... in preparation for making it a library.
2012-12-17 18:43:51 -03:00

20 lines
274 B
Makefile

CC = mipsel-openwrt-linux-gcc
CFLAGS = -g -Wall -O9 -I../libubb/include
LDFLAGS = -static
LDLIBS = -L../libubb -lubb
MAIN = swuart
OBJS = test.o swuart.o
.PHONY: all clean spotless
all: $(MAIN)
$(MAIN): $(OBJS)
clean:
rm -f $(OBJS)
spotless: clean
rm -f $(MAIN)