1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-06 10:56:30 -05:00

Main: Makefile.am: reorder code

This commit is contained in:
Alex Kotov 2022-06-03 20:39:59 +03:00
parent 490f7f3335
commit ddb08600f9
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -8,6 +8,9 @@ AM_CFLAGS = \
-I$(top_builddir)/include \ -I$(top_builddir)/include \
-I$(top_srcdir)/include -I$(top_srcdir)/include
CLEANFILES =
TESTS =
lib_LIBRARIES = libkernaux.a lib_LIBRARIES = libkernaux.a
noinst_PROGRAMS = $(TESTS) noinst_PROGRAMS = $(TESTS)
@ -16,10 +19,6 @@ libkernaux_a_SOURCES = \
src/assert.c \ src/assert.c \
src/libc.c src/libc.c
CLEANFILES = \
tests/test_printf_fmt_gen.c \
tests/test_printf_gen.c
if ASM_I386 if ASM_I386
libkernaux_a_SOURCES += src/asm/i386.S libkernaux_a_SOURCES += src/asm/i386.S
endif endif
@ -32,8 +31,6 @@ if ASM_X86_64
libkernaux_a_SOURCES += src/asm/x86_64.S libkernaux_a_SOURCES += src/asm/x86_64.S
endif endif
TESTS =
if ENABLE_TESTS if ENABLE_TESTS
TESTS += \ TESTS += \
examples/assert_guards \ examples/assert_guards \
@ -137,6 +134,7 @@ TESTS += \
examples/snprintf_va examples/snprintf_va
endif endif
if ENABLE_TESTS_PYTHON if ENABLE_TESTS_PYTHON
CLEANFILES += tests/test_printf_gen.c
TESTS += tests/test_printf_gen TESTS += tests/test_printf_gen
endif endif
endif endif
@ -147,6 +145,7 @@ if ENABLE_TESTS
TESTS += examples/printf_fmt TESTS += examples/printf_fmt
endif endif
if ENABLE_TESTS_PYTHON if ENABLE_TESTS_PYTHON
CLEANFILES += tests/test_printf_fmt_gen.c
TESTS += tests/test_printf_fmt_gen TESTS += tests/test_printf_fmt_gen
endif endif
endif endif