author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 22 Sep 2015 17:43:38 +0100 | |
changeset 14 | fa42d3f1a578 |
parent 1 | 18b4a3b98e96 |
permissions | -rw-r--r-- |
0
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
# |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
# DO NOT EDIT |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
# |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
# make uses this file (Makefile) only, if there is no |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
# file named "makefile" (lower-case m) in the same directory. |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
# My only task is to generate the real makefile and call make again. |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
# Thereafter, I am no longer used and needed. |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
# |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
# MACOSX caveat: |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
# as filenames are not case sensitive (in a default setup), |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
# we cannot use the above trick. Therefore, this file is now named |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
# "Makefile.init", and you have to execute "make -f Makefile.init" to |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
# get the initial makefile. This is now also done by the toplevel CONFIG |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
# script. |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
|
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
.PHONY: run |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
|
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
run: makefile |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
$(MAKE) -f makefile |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
#only needed for the definition of $(TOP) |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
include Make.proto |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
|
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
makefile: mf |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
|
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
mf: |
db69a8d8b368
Initial shot: parser, type nodes, types and little bit of a support.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
$(TOP)/rules/stmkmf |