Test: Fix dist

Also do proper clean.
This commit is contained in:
Kim Woelders 2021-09-25 10:30:42 +02:00
parent 8ac8041adf
commit e99c7a3bf0
1 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@
#
noinst_PROGRAMS = $(GTESTS)
CLEANFILES = file.c img_save-*.*
GTEST_LIBS = -lgtest -lstdc++
GTESTS = test_file
@ -21,9 +23,11 @@ noinst_PROGRAMS = $(GTESTS)
LIBS = -L$(top_builddir)/src/lib -lImlib2
LIBS += $(GTEST_LIBS)
vpath %.c $(top_srcdir)/src/lib
%.c: $(top_srcdir)/src/lib/%.c
ln -s $< $@
test_file_SOURCES = test_file.cpp file.c
test_file_SOURCES = test_file.cpp
nodist_test_file_SOURCES = file.c
test_file_LDADD = $(LIBS)
test_load_SOURCES = test_load.cpp