1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-07-05 06:25:27 +03:00
ben-wpan/tools/lib/Makefile
Werner Almesberger 32de4b6ad4 great atusd -> atben renaming: renamed tools/atusd.c and Makefile reference
- lib/atusd.c: renamed to lib/atben.c
- lib/Makefile (OBJS_ben_jlime, OBJS_ben_openwrt): changed "atusd" to
  "atben"
2011-01-17 11:56:17 -03:00

38 lines
762 B
Makefile

#
# lib/Makefile - Build the ATRF library
#
# Written 2010-2011 by Werner Almesberger
# Copyright 2010-2011 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_jlime = atben.o
OBJS_ben_openwrt = atben.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)