home *** CD-ROM | disk | FTP | other *** search
Makefile | 2005-01-13 | 541 b | 34 lines |
- ##
- ## Partition Logic
- ## Copyright (C) 1998-2005 J. Andrew McLaughlin
- ##
- ## Makefile
- ##
-
- # This is the top-level Makefile.
-
- BUILDDIR=build
- VISDIR=$(shell ls | grep visopsys)
- ifneq ($(VISDIR),)
- VISCLEAN=make -C $(VISDIR) clean
- endif
-
- PARTLOGIC=-DPARTLOGIC
- export PARTLOGIC
-
- all:
- make -C visopsys
- rm -f build; ln -s visopsys/build
- make -C utils
- make -C dist
- make -C src
-
- clean:
- rm -Rf *~ core
- $(VISCLEAN)
- make -C utils clean
- make -C dist clean
- make -C src clean
- rm -f build
- find . -type f -a ! -name \*.sh -exec chmod -x {} \;
-