mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-01 21:01:53 +02:00
2a245e1ee3
- tools/atspi-txrx/atspi-txrx.c: cleaned up includes - we need stdint.h but we don't need atspi/ep0.h - tools/atspi-txrx/atspi-txrx.c (wait_for_interrupt), tools/include/misctxrx.h (wait_for_interrupt), tools/lib/Makefile (OBJS), tools/lib/misctxrx.c (wait_for_interrupt): moved wait_for_interrupt from atspi-txrx to the atspi library, so that we can share it
35 lines
720 B
Makefile
35 lines
720 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.
|
|
#
|
|
|
|
|
|
LIB = libatspi.a
|
|
|
|
include ../Makefile.common
|
|
|
|
CFLAGS += -Wall -I$(F32XBASE)/include
|
|
OBJS_host = atusb.o $(F32XBASE)/lib/usb.o
|
|
OBJS_ben = atusd.o
|
|
OBJS = atspi.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)
|