mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-20 11:29:31 +00:00
test: Generate dependency files
This commit is contained in:
1 parent
7a4b9b98c0
commit
39d3145da9
1 file changed
+5
-1
+5
-1
@@ -10,13 +10,17 @@ LIB_TEST_SCANNER_OBJS := \
|
||||
$(LIB_DIR)/error.ao \
|
||||
$(LIB_DIR)/general.ao
|
||||
|
||||
# Include all dependency files. We use '.rd' to indicate this will create
|
||||
# executables.
|
||||
INCLUDEFILES += $(LIB_TEST_SOURCES:.c=.rd)
|
||||
|
||||
$(LIB_TEST_DIR)/test-scanner: $(LIB_TEST_SCANNER_OBJS)
|
||||
$(CC) $(EXLDFLAGS) -o $@ $(LIB_TEST_SCANNER_OBJS) -Llib
|
||||
|
||||
all-lib-test: $(LIB_TEST_TARGETS)
|
||||
user :: all-lib-test
|
||||
|
||||
$(LIB_TEST_DIR)/test-scanner.ro: $(LIB_DIR)/data.h $(LIB_DIR)/conf.h $(LIB_DIR)/conf-parse.h $(LIB_DIR)/scanner.h
|
||||
$(LIB_TEST_DIR)/test-scanner.rd: $(LIB_DIR)/conf-parse.c
|
||||
|
||||
clean-lib-test:
|
||||
$(RM) $(LIB_TEST_DIR)/*.rd $(LIB_TEST_DIR)/*.ro
|
||||
|
||||
Reference in new issue
Block a user