1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
AM_MAKEFLAGS = @MAKEFLAGS@
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS =
AM_CFLAGS =
AM_LDFLAGS = -lm -lncurses
noinst_PROGRAMS = test_libphidgets test_libphidgets_interfacekit test_libphidgets_rfid test_libphidgets_led64
test_libphidgets_SOURCES = test_libphidgets.c
test_libphidgets_DEPENDENCIES = ../src/libphidgets.la
test_libphidgets_LDADD = ../src/libphidgets.la
test_libphidgets_interfacekit_SOURCES = test_libphidgets_interfacekit.c
test_libphidgets_interfacekit_DEPENDENCIES = ../src/libphidgets.la
test_libphidgets_interfacekit_LDADD = ../src/libphidgets.la
test_libphidgets_rfid_SOURCES = test_libphidgets_rfid.c
test_libphidgets_rfid_DEPENDENCIES = ../src/libphidgets.la
test_libphidgets_rfid_LDADD = ../src/libphidgets.la
test_libphidgets_led64_SOURCES = test_libphidgets_led64.c
test_libphidgets_led64_DEPENDENCIES = ../src/libphidgets.la
test_libphidgets_led64_LDADD = ../src/libphidgets.la
../src/libphidgets.la::
@$(MAKE) -sC ../src libphidgets.la
.PHONY: debug
debug: test_libphidgets
libtool --mode=execute gdb -q $<
.PHONY: run
run: test_libphidgets
libtool --mode=execute ./$<
clean-local:
rm -f $(wildcard *.loT)
# COPYRIGHT --
#
# This file is part of libphidgets, a user-space library for phidgets.
# libphidgets is (c) 2003-2005 Martin F. Krafft <krafft@ailab.ch>
# and distributed under the terms of the Artistic Licence.
# See the ./COPYING file in the source tree root for more information.
#
# THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
# OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|