export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+NUMJOBS := -j$(shell nproc)
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
(cd fltk-*;DSOFLAGS="$(filter-out -fPIE -pie,$(LDFLAGS))" \
./configure --enable-shared=no --enable-cairo --enable-cp936 \
--with-optim="$(CFLAGS) $(XCFLAGS)" --libdir=$(libdir))
- make -C fltk-*
+ make $(NUMJOBS) -C fltk-*
touch fltk-stamp
configure: config-stamp
# Add here command to compile/build the package.
# Build first things.
# Build Xvnc
- make LDFLAGS="-lpng"
- (cd unix/xserver;make)
+ make $(NUMJOBS) LDFLAGS="-lpng"
+ make $(NUMJOBS) -C unix/xserver
touch build-arch-stamp
export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+NUMJOBS := -j$(shell nproc)
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Add here command to compile/build the package.
# Build first things.
# Build Xvnc
- make LDFLAGS="-lpng"
- (cd unix/xserver;make)
+ make $(NUMJOBS) LDFLAGS="-lpng"
+ make $(NUMJOBS) -C unix/xserver
touch build-arch-stamp