Rework to build by autoconf/automake and new Debian scripts
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
This commit is contained in:
14
gpio/Makefile.am
Normal file
14
gpio/Makefile.am
Normal file
@@ -0,0 +1,14 @@
|
||||
sbin_PROGRAMS = gpio
|
||||
|
||||
gpio_SOURCES = \
|
||||
gpio.c \
|
||||
readall.c
|
||||
|
||||
gpio_CFLAGS = \
|
||||
-I ../wiringPi \
|
||||
@EXTRA_CFLAGS@ \
|
||||
$(LIBCRYPT_CFLAGS)
|
||||
|
||||
gpio_LDFLAGS = \
|
||||
-L../wiringPi/.libs -lwiringPi \
|
||||
$(LIBCRYPT_LIBS)
|
||||
Reference in New Issue
Block a user