Browse Source

Update Makefile library linking for debug target

master
smartmic Arun Prakash Jana 5 years ago
parent
commit
5cd8578799
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile 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)


Loading…
Cancel
Save