mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 22:25:30 +02:00
84b61f35f2
- tools/lib/atspi.c: renamed to atrf.c - tools/lib/Makefile (OBJS): track above change - tools/Makefile.common (LDLIBS), tools/lib/Makefile (LIB): rename the whole library from libatspi to libatrf
35 lines
717 B
Makefile
35 lines
717 B
Makefile
#
|
|
# lib/Makefile - Build the ATRF 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.
|
|
#
|
|
|
|
|
|
LIB = libatrf.a
|
|
|
|
include ../Makefile.common
|
|
|
|
CFLAGS += -Wall -I$(F32XBASE)/include
|
|
OBJS_host = atusb.o $(F32XBASE)/lib/usb.o
|
|
OBJS_ben = atusd.o
|
|
OBJS = atrf.o misctxrx.o $(OBJS_$(TARGET))
|
|
|
|
.PHONY: all clean spotless
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(AR) cr $@ $^
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(OBJS_ben) $(OBJS_host)
|
|
|
|
spotless: clean
|
|
rm -f $(LIB)
|