From 2dafd20a96df67222778cf1d33b280ddf2712839 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 18 Apr 2006 21:20:00 +0000 Subject: [PATCH] More generic Makefiles --- src/Makefile | 7 ++++--- src/project.conf | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Makefile b/src/Makefile index 984ff85..900e3bf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,11 +1,12 @@ TARGETS = configure makedepend PREFIX = /usr/local -DESTDIR = +DESTDIR = BINDIR = $(PREFIX)/bin +INCLUDEDIR= $(PREFIX)/include CC = cc -CFLAGSF = -W -Wall -ansi -I /System/Include -D_GNU_SOURCE +CFLAGSF = -W -Wall -ansi -D_GNU_SOURCE CFLAGS = -g -LDFLAGSF= -L /System/Libraries -l System -l dl +LDFLAGSF= -l System -l dl RM = rm -f MKDIR = mkdir -p INSTALL = install diff --git a/src/project.conf b/src/project.conf index 670afd0..a888a5e 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,7 +1,7 @@ targets=configure,makedepend -cflags_force=-W -Wall -ansi -I /System/Include +cflags_force=-W -Wall -ansi cflags=-g -ldflags_force=-L /System/Libraries -l System -l dl +ldflags_force=-l System -l dl [configure] type=binary