Re-generated Makefiles

This commit is contained in:
Pierre Pronchery 2011-09-16 11:36:26 +00:00
parent 5611ea45de
commit 51e2eb4d08
5 changed files with 25 additions and 25 deletions

View File

@ -1,9 +1,9 @@
PACKAGE = c99
VERSION = 0.0.0
SUBDIRS = include src
RM = rm -f
LN = ln -f
TAR = tar -czvf
RM ?= rm -f
LN ?= ln -f
TAR ?= tar -czvf
all: subdirs

View File

@ -1,10 +1,10 @@
SUBDIRS = c99
PREFIX = /usr/local
DESTDIR =
RM = rm -f
LN = ln -f
MKDIR = mkdir -p
INSTALL = install
RM ?= rm -f
LN ?= ln -f
MKDIR ?= mkdir -p
INSTALL ?= install
INCLUDEDIR= $(PREFIX)/include

View File

@ -1,9 +1,9 @@
PREFIX = /usr/local
DESTDIR =
RM = rm -f
LN = ln -f
MKDIR = mkdir -p
INSTALL = install
RM ?= rm -f
LN ?= ln -f
MKDIR ?= mkdir -p
INSTALL ?= install
INCLUDEDIR= $(PREFIX)/include

View File

@ -10,10 +10,10 @@ CFLAGSF = -W `pkg-config --cflags cpp`
CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= `pkg-config --libs cpp`
LDFLAGS = -L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib
RM = rm -f
LN = ln -f
MKDIR = mkdir -p
INSTALL = install
RM ?= rm -f
LN ?= ln -f
MKDIR ?= mkdir -p
INSTALL ?= install
all: subdirs $(TARGETS)

View File

@ -8,13 +8,13 @@ CPPFLAGS=
CFLAGSF = -W `pkg-config --cflags cpp`
CFLAGS = -Wall -g -O2 -fPIC -pedantic
LDFLAGSF= `pkg-config --libs cpp`
AR = ar -rc
RANLIB = ranlib
LD = $(CC) -shared
RM = rm -f
LN = ln -f
MKDIR = mkdir -p
INSTALL = install
AR ?= ar
RANLIB ?= ranlib
CCSHARED?= $(CC) -shared
RM ?= rm -f
LN ?= ln -f
MKDIR ?= mkdir -p
INSTALL ?= install
all: $(TARGETS)
@ -24,21 +24,21 @@ asm_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags
asm_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs asm`
asm.so: $(asm_OBJS)
$(LD) -o asm.so $(asm_OBJS) $(asm_LDFLAGS)
$(CCSHARED) -o asm.so $(asm_OBJS) $(asm_LDFLAGS)
graph_OBJS = graph.o
graph_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
graph_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
graph.so: $(graph_OBJS)
$(LD) -o graph.so $(graph_OBJS) $(graph_LDFLAGS)
$(CCSHARED) -o graph.so $(graph_OBJS) $(graph_LDFLAGS)
indent_OBJS = indent.o
indent_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
indent_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
indent.so: $(indent_OBJS)
$(LD) -o indent.so $(indent_OBJS) $(indent_LDFLAGS)
$(CCSHARED) -o indent.so $(indent_OBJS) $(indent_LDFLAGS)
asm.o: asm.c ../../include/c99/target.h ../../config.h
$(CC) $(asm_CFLAGS) -c asm.c