1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

make fixes

This commit is contained in:
tg(x) 2011-06-12 20:55:26 +02:00
parent cd3533ae5e
commit 15fc28d2d7
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,5 @@
.PHONY: doc test bench
.NOTPARALLEL: clean
all:
${MAKE} -C src

View file

@ -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