Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ clib-build
clib-update
clib-upgrade
clib-uninstall
compile_flags.txt

test/package/package-*
!test/package/package-*.c
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,10 @@ fmt:
commit-hook: scripts/pre-commit-hook.sh
cp -f scripts/pre-commit-hook.sh .git/hooks/pre-commit

.PHONY: test all clean install uninstall fmt
.PHONY: test all clean install uninstall fmt compile-flags

compile-flags:
@printf "%s\n" \
$(foreach flag,$(CFLAGS),$(flag)) \
$(foreach dir,$(wildcard deps/*/),"-I./$(dir)") \
> compile_flags.txt
Loading