Skip to content

Commit

Permalink
Use CFLAGS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptersilie committed Jan 30, 2025
1 parent 246bca9 commit b083eef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS += -Wall
CFLAGS ?= -O2 -Wall

# Flags required for the JIT to work.
#
Expand All @@ -15,7 +15,7 @@ bf_base: bf_base.o
${CC} ${LDFLAGS} -o $@ $<

bf_simple_yk.o: bf_simple_yk.c
${CC} -O2 ${CFLAGS} ${YK_CFLAGS} -c -o $@ $<
${CC} ${CFLAGS} ${YK_CFLAGS} -c -o $@ $<

bf_simple_yk: bf_simple_yk.o
${CC} ${YK_LDFLAGS} ${LDFLAGS} -o $@ $<
Expand Down

0 comments on commit b083eef

Please sign in to comment.