Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xbdmenu.git;a=commitdiff;h=997a4af7a913a997934f01ae415694bc675a28fc

commit 997a4af7a913a997934f01ae415694bc675a28fc
Author: James Buren <[email protected]>
Date:   Thu Mar 12 13:39:11 2009 -0500

Makefile
* add linking flags

diff --git a/Makefile b/Makefile
index 1c8d956..b487477 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
CC = gcc
CFLAGS = -Wall -Wextra -ansi -pedantic -g -O0
+LDFLAGS = -lgd
SRC = env.c str.c mem.c main.c
OBJ = xbdmenu
VERSION = 0.1
DEF = -DVERSION=\"${VERSION}\"

all:
-       @${CC} ${CFLAGS} ${DEF} ${SRC} -o ${OBJ}
+       @${CC} ${CFLAGS} ${LDFLAGS} ${DEF} ${SRC} -o ${OBJ}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to