diff --git a/src/target/Makefile b/src/target/Makefile index 43c4b88..e6b7f94 100644 --- a/src/target/Makefile +++ b/src/target/Makefile @@ -2,6 +2,10 @@ TARGETS = amd64.a amd64.so graph.a graph.so sparc64.a sparc64.so PREFIX = /usr/local DESTDIR = LIBDIR = $(PREFIX)/lib +CC = cc +CPPFLAGS= +CFLAGSF = -W +CFLAGS = -Wall -g -O2 -fPIC AR = ar -rc RANLIB = ranlib LD = ld -shared diff --git a/src/target/project.conf b/src/target/project.conf index a87a585..c2b81d4 100644 --- a/src/target/project.conf +++ b/src/target/project.conf @@ -1,4 +1,6 @@ targets=amd64,graph,sparc64 +cflags_force=-W +cflags=-Wall -g -O2 -fPIC [amd64] type=library