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

commit 019a1088a9ca54db0ae4d044ca10a6f3eb2239f9
Author: James Buren <[email protected]>
Date:   Thu Mar 12 10:40:56 2009 -0500

Makefile
* define VERSION variable in makefile

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

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

Reply via email to