Root/tools/Makefile.common

Source at commit f20d685f8e2e709a243654ecc63842aa37f6e54c created 13 years 6 months ago.
By Werner Almesberger, Merged uSD driver into unified tool build, completed conversion of tools.
1#
2# tools/Makefile.common - Common items in ATSPI tool makefiles
3#
4# Written 2010 by Werner Almesberger
5# Copyright 2010 Werner Almesberger
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12
13ifeq ($(TARGET),)
14TARGET = host
15endif
16
17F32XBASE = ../../../f32xbase
18
19ifneq ($(MAIN),)
20include $(F32XBASE)/lib/Makefile.common
21endif
22
23CC_host = gcc
24CC_ben = mipsel-openwrt-linux-gcc
25LDLIBS_host = -lusb
26LDLIBS_ben =
27MACROS_host = -DHAVE_USB
28MACROS_ben = -DHAVE_USD
29
30CFLAGS += -I../../atrf/fw/include -I../include $(MACROS_$(TARGET))
31LDLIBS = $(LDLIBS_$(TARGET)) -L../lib -latspi
32

Archive Download this file



interactive