Skip to content

Commit

Permalink
core/Makefile: Respect $CC and $CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
lanodan authored and Felix Van der Jeugt committed Aug 7, 2023
1 parent d35540c commit c8bd926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test: $(ALL)

config.h:
@echo Generating ccan configuration header
@${CC} ccan-config.c -o ccan-config && ./ccan-config > config.h
@${CC} ccan-config.c -o ccan-config && ./ccan-config "${CC}" ${CFLAGS} > config.h

text-test: config.h text-test.c ../../text.c ../../text-common.c ../../text-io.c ../../text-iterator.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c ../../array.c
@echo Compiling $@ binary
Expand Down

0 comments on commit c8bd926

Please sign in to comment.