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:
Dongjin Kim
2022-01-18 10:10:24 +00:00
parent f78d982959
commit f316f52636
45 changed files with 492 additions and 1387 deletions

View File

@@ -0,0 +1,10 @@
COMMON_CFLAGS=$(EXTRA_CFLAGS) $(LIBWIRINGPI_CFLAGS) -I.
LIBS=$(LIBWIRINGPI_LIBS)
bin_PROGRAMS = piGlow0 piGlow1
piGlow0_SOURCES = piGlow0.c
piGlow0_CFLAGS = $(COMMON_CFLAGS)
piGlow1_SOURCES = piGlow1.c
piGlow1_CFLAGS = $(COMMON_CFLAGS)