diff options
author | Peter Anvin <hpa@tazenda.(none)> | 2005-12-08 11:29:53 -0800 |
---|---|---|
committer | Peter Anvin <hpa@tazenda.(none)> | 2005-12-08 11:29:53 -0800 |
commit | a9d918f61492b91efd89dc8119a57a1a010e5376 (patch) | |
tree | 2401329cbd7d6bd42b0cad22d3e20e55c45d8c5a | |
parent | effaa8733130df5347a57610b2c6b14ee8ea07b5 (diff) | |
download | libucd-a9d918f61492b91efd89dc8119a57a1a010e5376.tar.gz |
Move configuration to MCONFIG file
-rw-r--r-- | MCONFIG | 17 | ||||
-rw-r--r-- | Makefile | 19 | ||||
-rw-r--r-- | perfect/Makefile | 5 |
3 files changed, 19 insertions, 22 deletions
@@ -0,0 +1,17 @@ +CC = cc +CFLAGS = -g -O3 -I. -W -Wall -DHAVE_PTHREAD_H +PICFLAGS = -fPIC +LDFLAGS = -lpthread +AR = ar +RANLIB = ranlib +LIB_FILE = libucd.a +SO_FILE = libucd.so +SO_NAME = libucd.so.0 +SOFLAGS = -shared -Wl,-soname,$(SO_NAME) + +HOST_CC = cc +HOST_CFLAGS = -g -O -I. -W -Wall +HOST_LDFLAGS = +HOST_LIBS = + +PERL = time perl @@ -1,21 +1,4 @@ -CC = cc -CFLAGS = -g -O3 -I. -W -Wall -DHAVE_PTHREAD_H -PICFLAGS = -fPIC -LDFLAGS = -lpthread -AR = ar -RANLIB = ranlib -LIB_FILE = libucd.a -SO_FILE = libucd.so -SO_NAME = libucd.so.0 -SOFLAGS = -shared -Wl,-soname,$(SO_NAME) - -HOST_CC = cc -HOST_CFLAGS = -g -O -I. -W -Wall -HOST_LDFLAGS = -HOST_LIBS = - -PERL = time perl - +include MCONFIG # # Headers included from libucd_int.h diff --git a/perfect/Makefile b/perfect/Makefile index c398ef1..7e478aa 100644 --- a/perfect/Makefile +++ b/perfect/Makefile @@ -1,7 +1,4 @@ -HOST_CC = cc -HOST_CFLAGS = -g -O -HOST_LDFLAGS = -HOST_LIBS += -lm +include ../MCONFIG .c.o: $(HOST_CC) $(HOST_CFLAGS) -c $< |