Root/tools/lib/Makefile

Source at commit e2b2df2e315c6b0338aed53dffd1dce9cae8196e created 9 years 13 days ago.
By Werner Almesberger, Made the libatspi API driver-agnostic.
1#
2# lib/Makefile - Build the ATSPI library
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
13
14F32XBASE = ../../../f32xbase
15
16LIB = libatspi.a
17
18CFLAGS = -Wall -I$(F32XBASE)/include -I../../atrf/fw/include -I../include
19OBJS = $(F32XBASE)/lib/usb.o atspi.o atusb.o
20
21.PHONY: all clean spotless
22
23all: $(LIB)
24
25$(LIB): $(OBJS)
26        $(AR) cr $@ $^
27
28clean:
29        rm -f $(OBJS)
30
31spotless: clean
32        rm -f $(LIB)
33

Archive Download this file



interactive