X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=Makefile;h=7d74b4a887835f7601910288dbc993cbd72da197;hb=9072abf0ae249c6903cb5966f2d64960b51d25cb;hp=cec63533698c7ae4b28733fed99a43f20b36e815;hpb=a682737372af005d3be78248296680f131e39858;p=chorizo.git diff --git a/Makefile b/Makefile index cec6353..7d74b4a 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,13 @@ chorizo: format: for i in *.c *.h; do clang-format $$i > tmp; mv tmp $$i; done +headers: + mv config.h tmp + rm chorizo.h + makeheaders -h *.[ch] > tmp2 + mv tmp config.h + mv tmp2 chorizo.h + extensions: for i in extensions/*.c; do \ outp=$$(echo "$$i" | sed 's/\$\.c/.so/g'); \