aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar smartmic <dev@famic.de>2019-05-04 14:29:45 +0200
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-22 08:44:19 +0530
commit5cd8578799f8fa14e9e4b0d5304b228a1eebd972 (patch)
tree6454992a2bc9c60e68e5f1dfe56874f816c3eb60
parentd3fa01f91fa995312b2882222800b882a2f77856 (diff)
downloadnnn-5cd8578799f8fa14e9e4b0d5304b228a1eebd972.tar.gz
Update Makefile library linking for debug target
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fce5f06..7dcf5eb 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ $(BIN): $(SRC)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) -lreadline
debug: $(SRC)
- $(CC) -DDBGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS) -lreadline
+ $(CC) -DDBGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS) -lreadline -lrt
norl: $(SRC)
$(CC) -DNORL $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)