From 897a4d6005f4ca8dc32f210dff302667a21ab880 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 24 May 2017 13:06:17 +0200 Subject: [PATCH] buildsys: cleanup --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ecf6b43..42f9df2 100644 --- a/Makefile +++ b/Makefile @@ -25,13 +25,14 @@ genfont2: genfont2.c gcc -g -O2 -o $@ genfont2.c -Wall -Wextra -D_GNU_SOURCE -lz .PHONY: vnc -${VNCLIB} vnc: ${VNCSRC} +vnc: ${VNCLIB} +${VNCLIB}: ${VNCSRC} rm -rf ${VNCDIR} tar xf ${VNCSRC} ln -s ../vncpatches ${VNCDIR}/patches cd ${VNCDIR}; quilt push -a cd ${VNCDIR}; ./autogen.sh --without-ssl --without-websockets --without-tightvnc-filetransfer; - cd ${VNCDIR}; make + cd ${VNCDIR}; $(MAKE) vncterm: vncterm.c ${VNCLIB} wchardata.c gcc -O2 -g -o $@ vncterm.c wchardata.c -Wall -Wno-deprecated-declarations -D_GNU_SOURCE -I ${VNCDIR} ${VNCLIB} -lnsl -lpthread -lz -ljpeg -lutil -lgnutls -lpng @@ -61,7 +62,7 @@ vncterm.1: vncterm.pod .PHONY: deb deb: $(DEB) ${DEB}: - make clean + $(MAKE) clean rsync -a . --exclude build build echo "Architecture: ${ARCH}" >> build/debian/control echo "git clone git://git.proxmox.com/git/vncterm.git\\ngit checkout ${GIVERSION}" > build/debian/SOURCE -- 2.39.2