Skip to content

Commit a018c45

Browse files
committed
Fixes the compile error in the newer versions of gcc
1 parent f7dec39 commit a018c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LDFLAGS := $(shell pkg-config --libs $(libs)) -lreadline -O0
99
all: ${bin}
1010

1111
%: %.c
12-
${CC} ${CFLAGS} ${LDFLAGS} $< -o $@
12+
${CC} $< ${CFLAGS} ${LDFLAGS} -o $@
1313

1414
clean:
15-
rm -vf ${bin}
15+
rm -vf ${bin}

0 commit comments

Comments
 (0)