mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
make fixes
This commit is contained in:
parent
cd3533ae5e
commit
15fc28d2d7
2 changed files with 6 additions and 3 deletions
1
Makefile
1
Makefile
|
@ -1,4 +1,5 @@
|
|||
.PHONY: doc test bench
|
||||
.NOTPARALLEL: clean
|
||||
|
||||
all:
|
||||
${MAKE} -C src
|
||||
|
|
|
@ -10,6 +10,8 @@ P = match itoa
|
|||
A = ../lib/libpsyc.a
|
||||
SO = ../lib/libpsyc.so
|
||||
|
||||
.NOTPARALLEL: clean
|
||||
|
||||
all: CC := ${WRAPPER} ${CC}
|
||||
all: lib
|
||||
|
||||
|
@ -21,13 +23,13 @@ diet: WRAPPER = ${DIET}
|
|||
diet: CC := ${WRAPPER} ${CC}
|
||||
diet: lib
|
||||
|
||||
lib: $O $A ${SO}
|
||||
lib: $A ${SO}
|
||||
|
||||
${SO}:
|
||||
${SO}: $O
|
||||
@mkdir -p ../lib
|
||||
${CC} ${CFLAGS} -shared -lm -o $@ $O
|
||||
|
||||
$A:
|
||||
$A: $O
|
||||
@mkdir -p ../lib
|
||||
${WRAPPER} ${AR} rcs $@ $O
|
||||
|
||||
|
|
Loading…
Reference in a new issue