More generic Makefile
This commit is contained in:
parent
65b3ae490f
commit
47e5f2f1e0
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ PACKAGE = GToolkit
|
||||||
VERSION = 0.0.0
|
VERSION = 0.0.0
|
||||||
SUBDIRS = src
|
SUBDIRS = src
|
||||||
LN = ln -sf
|
LN = ln -sf
|
||||||
TAR = tar cfzv
|
TAR = tar -czvf
|
||||||
|
|
||||||
|
|
||||||
all: subdirs
|
all: subdirs
|
||||||
|
|
|
@ -3,9 +3,9 @@ PREFIX = /usr/local
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
LIBDIR = $(PREFIX)/lib
|
LIBDIR = $(PREFIX)/lib
|
||||||
CC = cc
|
CC = cc
|
||||||
CFLAGSF = -W -Wall -ansi
|
CFLAGSF = -W -Wall -ansi -D_GNU_SOURCE
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
AR = ar rc
|
AR = ar -rc
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
LD = ld -shared
|
LD = ld -shared
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user