1 |
|
PWD=$(shell pwd) |
2 |
|
|
3 |
NEB=neb.pl |
NEB=neb.pl |
4 |
NEBMODS=neb.pm |
NEBMODS=neb.pm |
5 |
NEBSUBDIRS=PAPO neb |
NEBSUBDIRS=PAPO neb |
16 |
# do-for-all=for i in $(2); do $(call $(1),$$i); done |
# do-for-all=for i in $(2); do $(call $(1),$$i); done |
17 |
|
|
18 |
# the ';'s are important to let the do-for-all func work |
# the ';'s are important to let the do-for-all func work |
19 |
install-bin=${INSTALL} $(1) ~/bin/$(subst .pl,,$(1)); |
install-bin=${INSTALL} ${PWD}/$(1) ~/bin/$(subst .pl,,$(1)); |
20 |
install-mod=${INSTALL} $(1) ${LIBDIR}/$(1); |
install-mod=${INSTALL} ${PWD}/$(1) ${LIBDIR}/$(1); |
21 |
install-subdir=${install-mod} |
install-subdir=${install-mod} |
22 |
|
|
23 |
all: |
all: |