Skip to content

Commit 212b71b

Browse files
Fix examples/Makefile
1 parent ec2f119 commit 212b71b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
CFLAGS=-Wall -Wextra -Werror -pedantic -std=c89
2-
LDFLAGS=
2+
LDFLAGS=-lsuinput
33
PROGRAMS=keyboard mouse
44

55
.PHONY: all clean
66

77
all: $(PROGRAMS)
88

99
%: %.c
10-
gcc -o$@ $(CFLAGS) $(LDFLAGS) -lsuinput $^
10+
gcc -o$@ $(CFLAGS) $^ $(LDFLAGS)
1111

1212
clean:
1313
rm -f $(PROGRAMS)

0 commit comments

Comments
 (0)