Building in local machine:
$ sh autogen.sh
$ ./configure
$ make
$ sudo make install
Building Debian package:
$ debuild -uc -us -b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I76faa07c1586658d053a3e260ea231a19392f792
23 lines
503 B
Makefile
23 lines
503 B
Makefile
COMMON_CFLAGS = $(EXTRA_CFLAGS) $(LIBWIRINGPI_CFLAGS) -I.
|
|
LIBS = $(LIBWIRINGPI_LIBS)
|
|
|
|
bin_PROGRAMS = blink buttons ladder metro motor reaction
|
|
|
|
blink_SOURCES = blink.c
|
|
blink_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
buttons_SOURCES = buttons.c
|
|
buttons_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
ladder_SOURCES = ladder.c
|
|
ladder_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
metro_SOURCES = metro.c
|
|
metro_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
motor_SOURCES = motor.c
|
|
motor_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
reaction_SOURCES = reaction.c
|
|
reaction_CFLAGS = $(COMMON_CFLAGS)
|