mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
For any given target (let's say foobar), automake defaults to looking for foobar.c if foobar_SOURCES are not specified. Remove redundant assignments as we've seen multiple hidden typos in makefiles already. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Kent Gibson <warthog618@gmail.com>
16 lines
579 B
Makefile
16 lines
579 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
|
|
|
|
lib_LTLIBRARIES = libgpiosim.la
|
|
noinst_PROGRAMS = gpiosim-selftest
|
|
|
|
AM_CFLAGS = -Wall -Wextra -g -fvisibility=hidden -std=gnu89
|
|
AM_CFLAGS += -include $(top_builddir)/config.h
|
|
|
|
libgpiosim_la_SOURCES = gpiosim.c gpiosim.h
|
|
libgpiosim_la_CFLAGS = $(AM_CFLAGS) $(KMOD_CFLAGS) $(MOUNT_CFLAGS)
|
|
libgpiosim_la_LDFLAGS = -version-info $(subst .,:,$(ABI_GPIOSIM_VERSION))
|
|
libgpiosim_la_LDFLAGS += $(KMOD_LIBS) $(MOUNT_LIBS) -pthread
|
|
|
|
gpiosim_selftest_LDADD = libgpiosim.la
|