author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 08 Jan 2019 09:35:11 +0000 | |
changeset 866 | 8a885a75daa9 |
parent 296 | f7824c40a07e |
permissions | -rw-r--r-- |
296
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
# |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
# DO NOT EDIT |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
# |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
# make uses this file (Makefile) only, if there is no |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
# file named "makefile" (lower-case m) in the same directory. |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
# My only task is to generate the real makefile and call make again. |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
# Thereafter, I am no longer used and needed. |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
# |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
# MACOSX caveat: |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
# as filenames are not case sensitive (in a default setup), |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
# we cannot use the above trick. Therefore, this file is now named |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
# "Makefile.init", and you have to execute "make -f Makefile.init" to |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
# get the initial makefile. This is now also done by the toplevel CONFIG |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
# script. |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
|
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
.PHONY: run |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
|
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
run: makefile |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
$(MAKE) -f makefile |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
#only needed for the definition of $(TOP) |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
include Make.proto |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
|
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
makefile: mf |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
|
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
mf: |
f7824c40a07e
Bugfix for creating new subpackage inside existing package (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
$(TOP)/rules/stmkmf |