This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
|
| 2 |
ifeq ($(PREFIX),) |
| 3 |
PREFIX = /usr/local |
| 4 |
endif |
| 5 |
|
| 6 |
MAKEFILE = Makefile |
| 7 |
QMAKE = qmake |
| 8 |
DEL_FILE = rm -f |
| 9 |
SUBTARGETS = \ |
| 10 |
sub-src |
| 11 |
|
| 12 |
all: $(SUBTARGETS) |
| 13 |
|
| 14 |
src/$(MAKEFILE): |
| 15 |
cd src && $(QMAKE) -o $(MAKEFILE) |
| 16 |
sub-src: src/$(MAKEFILE) FORCE |
| 17 |
cd src && $(MAKE) -f $(MAKEFILE) |
| 18 |
|
| 19 |
all: $(SUBTARGETS) |
| 20 |
qmake_all: src/$(MAKEFILE) |
| 21 |
( [ -d src ] && cd src ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true |
| 22 |
clean uninstall install uiclean mocclean lexclean yaccclean: qmake_all FORCE |
| 23 |
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; ) || true |
| 24 |
distclean: qmake_all FORCE |
| 25 |
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true |
| 26 |
|
| 27 |
FORCE: |