diff options
author | 2022-06-30 09:00:15 -0400 | |
---|---|---|
committer | 2022-06-30 09:00:15 -0400 | |
commit | 70aaf6fea40ac4f4f28094cad639ec4c00897843 (patch) | |
tree | b3013b4abeaf00cde4ab63f90bdc91ef8e6520a9 /src/lib/Makefile | |
parent | test/fs: enable private-lib in firejail.config (diff) | |
parent | makefiles: add generated files as dependencies (diff) | |
download | firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.gz firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.tar.zst firejail-70aaf6fea40ac4f4f28094cad639ec4c00897843.zip |
Merge pull request #5219 from kmk3/build-reduce-config-files
build: reduce autoconf input files from 32 to 2
Diffstat (limited to 'src/lib/Makefile')
-rw-r--r-- | src/lib/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/Makefile b/src/lib/Makefile new file mode 100644 index 000000000..d9bc63ef7 --- /dev/null +++ b/src/lib/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | ROOT = ../.. | ||
2 | include $(ROOT)/src/common.mk | ||
3 | |||
4 | .PHONY: all | ||
5 | all: $(OBJS) | ||
6 | |||
7 | %.o : %.c $(H_FILE_LIST) $(ROOT)/config.mk | ||
8 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | ||
9 | |||
10 | .PHONY: clean | ||
11 | clean:; rm -fr $(OBJS) *.gcov *.gcda *.gcno *.plist | ||
12 | |||
13 | .PHONY: distclean | ||
14 | distclean: clean | ||