Skip to content

Commit

Permalink
Fix Makefile error: VERSION did not work with github
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-db committed May 19, 2022
1 parent 05868bb commit 0832d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ test: fr
fr: fr.c
@VERSION="$$(./get-version.sh)"; \
echo "Making $@, version=\"$${VERSION}\""; \
sed 's@// VERSION@"\\nVersion: '"$${VERSION}"'\\n"@' $^ | \
sed 's|// VERSION|"\\nVersion: '"$${VERSION}"'\\n"|' $^ | \
cc -o $@ -x c - -Wall -Wextra -std=c99 -pedantic \
-Wmissing-prototypes -Wstrict-prototypes -O2 -Wconversion

Expand Down

0 comments on commit 0832d29

Please sign in to comment.