blob: 4e6b921ae0dce71f66025a691e481cb2481803b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/Makefile b/Makefile
index 7a1fc14..a0f8f4a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
INSTALL_PATH=$(DESTDIR)/usr/bin
-LDFLAGS+=-lmcc
+LDLIBS+=-lmcc
all: build/mcc-pingpong
build/mcc-pingpong: src/pingpong.c
mkdir -p build/
- $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)
+ $(CC) $< -o $@ $(CFLAGS) $(LDLIBS) $(LDFLAGS)
install:
mkdir -p $(INSTALL_PATH)
|