Permalink
Browse files

FIX: Support LDFLAGS in Makefile

  • Loading branch information...
1 parent 5d00e54 commit 6ff090b8ca621ace9e8cafe75b9964d399af047e Julien Palard committed May 28, 2012
Showing with 24 additions and 3 deletions.
  1. +20 −0 CHANGELOG
  2. +3 −2 Makefile
  3. +1 −1 src/logtop.c
View
@@ -1,3 +1,23 @@
+commit 43411226105af5f0b8ebb437df0fb5cfbe16a2a7
+Author: Julien Palard <julien@eeple.fr>
+Date: Mon May 28 15:26:45 2012 +0200
+
+ FIX: Support LDFLAGS in Makefile
+
+commit 5d00e5423bdff5e3b86e26c3be151e182b9db7b0
+Author: Julien Palard <julien@eeple.fr>
+Date: Mon May 21 15:01:50 2012 +0200
+
+ FIX: Forgot a debug.
+
+commit d7ac287638cd86615b4724d80874f86309101422
+Author: Julien Palard <julien@eeple.fr>
+Date: Sun May 20 21:58:59 2012 +0200
+
+ Upgrading documentation and manpage.
+
+ Version is now 0.2.
+
commit 430fa9273f1ea88379cff466a84ae926822bd8b7
Author: Julien Palard <julien@eeple.fr>
Date: Sun May 20 21:25:57 2012 +0200
View
@@ -16,9 +16,10 @@ DEFINE = _GNU_SOURCE
LIB = -lncurses #-lefence
CFLAGS = -O3 -W -Wall -ansi -pedantic -Wstrict-prototypes -I$(INCLUDE)
RM = rm -f
+LDFLAGS =
$(NAME): $(OBJ)
- $(CC) $(CFLAGS) -o $(NAME) $(OBJ) $(LIB)
+ $(CC) $(CFLAGS) -o $(NAME) $(OBJ) $(LIB) $(LDFLAGS)
install: $(NAME)
mkdir -p $(DESTDIR)/usr/bin/
@@ -32,6 +33,6 @@ all:
clean:
$(RM) $(NAME) $(DSRC)/*~ $(DSRC)/#*# $(DSRC)/*.o $(DSRC)/*.core \
- $(DSRC)/libavl/*.o
+ $(DSRC)/libavl/*.o
re: clean all
View
@@ -120,7 +120,7 @@ static void usage_and_exit(int exit_code)
static void version_and_exit(void)
{
- fprintf(stdout, "logtop v0.2.1\n");
+ fprintf(stdout, "logtop v0.2.2\n");
exit(EXIT_SUCCESS);
}

0 comments on commit 6ff090b

Please sign in to comment.