mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 13:06:51 +02:00
45e55fe2f1
- tools/Makefile (upload): make destinastion host name ("ben" or "jlime") depend on TARGET - tools/Makefile.common (CC_ben, CFLAGS_ben, LDLIBS_ben, MACROS_ben): renamed to *_openwrt and added *_jlime equivalents - tools/atrf-rssi/Makefile: added settings to use SDL_gfx on Jlime - tools/lib/Makefile (OBJS_ben): renamed to OBJS_ben_openwrt and added OBJS_ben_jlime
38 lines
762 B
Makefile
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 = atusd.o
|
|
OBJS_ben_openwrt = 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)
|