More generic Makefiles

This commit is contained in:
Pierre Pronchery 2006-04-18 21:20:00 +00:00
parent 49a5705683
commit 2dafd20a96
2 changed files with 6 additions and 5 deletions

View File

@ -1,11 +1,12 @@
TARGETS = configure makedepend TARGETS = configure makedepend
PREFIX = /usr/local PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
INCLUDEDIR= $(PREFIX)/include
CC = cc CC = cc
CFLAGSF = -W -Wall -ansi -I /System/Include -D_GNU_SOURCE CFLAGSF = -W -Wall -ansi -D_GNU_SOURCE
CFLAGS = -g CFLAGS = -g
LDFLAGSF= -L /System/Libraries -l System -l dl LDFLAGSF= -l System -l dl
RM = rm -f RM = rm -f
MKDIR = mkdir -p MKDIR = mkdir -p
INSTALL = install INSTALL = install

View File

@ -1,7 +1,7 @@
targets=configure,makedepend targets=configure,makedepend
cflags_force=-W -Wall -ansi -I /System/Include cflags_force=-W -Wall -ansi
cflags=-g cflags=-g
ldflags_force=-L /System/Libraries -l System -l dl ldflags_force=-l System -l dl
[configure] [configure]
type=binary type=binary