tazweb rev 140

Makefile: make it cross friendly
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 09:13:43 2014 +0200 (2014-04-05)
parents 3906e461cdc6
children b499c4de5634
files Makefile
line diff
     1.1 --- a/Makefile	Sun Mar 09 05:24:25 2014 +0000
     1.2 +++ b/Makefile	Sat Apr 05 09:13:43 2014 +0200
     1.3 @@ -8,11 +8,17 @@
     1.4  VERSION=1.6.4
     1.5  LINGUAS?=fr pt_BR ru
     1.6  
     1.7 +CC?=gcc
     1.8 +
     1.9  all:
    1.10 -	gcc src/main.c -o $(PACKAGE) \
    1.11 +	$(CC) src/main.c -o $(PACKAGE) \
    1.12  		`pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
    1.13  	@du -sh $(PACKAGE)
    1.14  
    1.15 +qt:
    1.16 +	cd src && qmake && make
    1.17 +	@du -sh src/$(PACKAGE)-qt
    1.18 +
    1.19  # i18n
    1.20  
    1.21  pot: