--- Urlader/prebuilt/Makefile 2012/01/02 09:23:04 1.2 +++ Urlader/prebuilt/Makefile 2012/01/06 07:56:36 1.3 @@ -1,5 +1,9 @@ W32CROSS=i686-w64-mingw32- CFLAGS=-Os +STRIP=strip + +#CFLAGS=-g +#STRIP=size SRC = .. @@ -18,11 +22,11 @@ rm icon.rc $(W32CROSS)gcc $(CFLAGS) -mwin32 -mwindows -o $@ $< icon.o -lshell32 -lshlwapi rm icon.o - $(W32CROSS)strip $@ + $(W32CROSS)$(STRIP) $@ linux-x86: $(SRCSOURCES) - broot gcc -Os -o $@ $< -static - broot strip $@ + broot gcc $(CFLAGS) -o $@ $< -static + broot $(STRIP) $@ linux-amd64: linux-x86 ln -f $< $@ @@ -31,8 +35,8 @@ tar cC $(SRC) $(SOURCES) | ssh osx105 "\ cd /tmp || exit;\ tar x || exit;\ - gcc -Os -o $@ urlader.c || exit;\ - strip $@ || exit;\ + gcc $(CFLAGS) -o $@ urlader.c || exit;\ + $(STRIP) $@ >/dev/null || exit;\ tar c $@ || exit;\ " | tar xv