mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 12:45:31 +02:00
36e73c4abb
- atrf/tools/: moved to tools/ - tools/Makefile: updated path to Makefile.recurse - tools/atspi-id/Makefile, tools/atspi-reset/Makefile, tools/atspi-rssi/Makefile, tools/atspi-trim/Makefile, tools/atspi-txrx/Makefile, tools/lib/Makefile: updated paths to f32xbase and to atrf/fw/include
33 lines
665 B
Makefile
33 lines
665 B
Makefile
#
|
|
# lib/Makefile - Build the ATSPI library
|
|
#
|
|
# Written 2010 by Werner Almesberger
|
|
# Copyright 2010 Werner Almesberger
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
|
|
|
|
F32XBASE = ../../../f32xbase
|
|
|
|
LIB = libatspi.a
|
|
|
|
CFLAGS = -Wall -I$(F32XBASE)/include -I../../atrf/fw/include -I../include
|
|
OBJS = $(F32XBASE)/lib/usb.o atspi.o
|
|
|
|
.PHONY: all clean spotless
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(AR) cr $@ $^
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
|
|
spotless: clean
|
|
rm -f $(LIB)
|