From 15fc28d2d7548ffc770c04f0c699adb21193b85b Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Sun, 12 Jun 2011 20:55:26 +0200 Subject: [PATCH] make fixes --- Makefile | 1 + src/Makefile | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 05f4d55..d7f5997 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ .PHONY: doc test bench +.NOTPARALLEL: clean all: ${MAKE} -C src diff --git a/src/Makefile b/src/Makefile index 822ccfa..da0452d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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