diff options
author | netblue30 <netblue30@protonmail.com> | 2022-06-30 09:00:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 09:00:15 -0400 |
commit | 70aaf6fea40ac4f4f28094cad639ec4c00897843 (patch) | |
tree | b3013b4abeaf00cde4ab63f90bdc91ef8e6520a9 /src/profstats/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/profstats/Makefile')
-rw-r--r-- | src/profstats/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/profstats/Makefile b/src/profstats/Makefile new file mode 100644 index 000000000..0274aead2 --- /dev/null +++ b/src/profstats/Makefile | |||
@@ -0,0 +1,17 @@ | |||
1 | .PHONY: all | ||
2 | all: profstats | ||
3 | |||
4 | ROOT = ../.. | ||
5 | include $(ROOT)/src/common.mk | ||
6 | |||
7 | %.o : %.c $(H_FILE_LIST) ../include/common.h $(ROOT)/config.mk | ||
8 | $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@ | ||
9 | |||
10 | profstats: $(OBJS) $(ROOT)/config.mk | ||
11 | $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(EXTRA_LDFLAGS) | ||
12 | |||
13 | .PHONY: clean | ||
14 | clean:; rm -fr *.o profstats *.gcov *.gcda *.gcno *.plist | ||
15 | |||
16 | .PHONY: distclean | ||
17 | distclean: clean | ||