Line | |
---|
1 | #
|
---|
2 | # global makefile
|
---|
3 | #
|
---|
4 |
|
---|
5 | GUI = yes
|
---|
6 |
|
---|
7 | all:
|
---|
8 | echo " "; echo " " ; echo ==dim==; $(MAKE) -f makefile_dim all
|
---|
9 | echo " "; echo " " ; echo ==utilities==; $(MAKE) -f makefile_util all
|
---|
10 | echo " "; echo " " ; echo ==examples==; $(MAKE) -f makefile_examples all
|
---|
11 | ifneq ($(GUI),no)
|
---|
12 | echo " "; echo " " ; echo ==did==; $(MAKE) THREADS=no -f makefile_did all
|
---|
13 | endif
|
---|
14 |
|
---|
15 | # Test, if ODIR is set before trying to clean up.
|
---|
16 | ifneq ($(ODIR),)
|
---|
17 | clean:
|
---|
18 | /bin/rm -f $(ODIR)/*.o core *~
|
---|
19 | cd src; /bin/rm -f core *~
|
---|
20 | cd src/did; /bin/rm -f core *~
|
---|
21 | cd src/examples; /bin/rm -f core *~
|
---|
22 | cd src/util; /bin/rm -f core *~
|
---|
23 |
|
---|
24 | realclean: clean
|
---|
25 | /bin/rm -f $(ODIR)/*
|
---|
26 | endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.