Update Makefile library linking for debug target

This commit is contained in:
smartmic 2019-05-04 14:29:45 +02:00 committed by Arun Prakash Jana
parent d3fa01f91f
commit 5cd8578799
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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)