"Fossies" - the Fresh Open Source Software Archive

Member "partlogic-0.9-src/Makefile" (16 Apr 2020, 717 Bytes) of package /linux/privat/partlogic-0.9-src.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Makefile": 0.77_vs_0.85.

    1 ##
    2 ##  Partition Logic
    3 ##  Copyright (C) 1998-2020 J. Andrew McLaughlin
    4 ##
    5 ##  Makefile
    6 ##
    7 
    8 # Top-level Makefile.
    9 
   10 BUILDDIR = build
   11 VISDIR = $(shell ls | grep visopsys)
   12 
   13 ifneq (${VISDIR},)
   14 	VISCLEAN=${MAKE} -C ${VISDIR} clean
   15 endif
   16 
   17 PARTLOGIC = -DPARTLOGIC
   18 RELEASE = $(shell utils/release.sh)
   19 
   20 export PARTLOGIC RELEASE
   21 
   22 all:
   23 	${MAKE} -C visopsys DEBUG=${DEBUG}
   24 	rm -f ${BUILDDIR}; ln -s visopsys/${BUILDDIR}
   25 	${MAKE} -C dist
   26 	${MAKE} -C utils DEBUG=${DEBUG}	# src needs utils
   27 	${MAKE} -C src DEBUG=${DEBUG}
   28 
   29 debug:
   30 	${MAKE} all DEBUG=1
   31 
   32 clean:
   33 	${VISCLEAN}
   34 	${MAKE} -C dist clean
   35 	${MAKE} -C src clean
   36 	${MAKE} -C utils clean
   37 	rm -Rf *~ core
   38 	rm -f ${BUILDDIR}
   39 	find . -type f -a ! -name '*.sh' -exec chmod -x {} \;
   40