Skip to content
Snippets Groups Projects
Commit 23831498 authored by agoncharov's avatar agoncharov
Browse files

Bringing a bit more structure to the build system

parent 00353423
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,8 @@ ifneq ($(or $(FEATURE_X87),$(FEATURE_SSE2)),)
CPP_DEFINE_OPTIONS += -DFEATURE_SSE2
endif
CC ?= gcc
CC = gcc
LD = ld
CPP = cpp
ifeq ($(filter 2% 3%, $(shell $(CC) -dumpversion)),)
CPP_INCLUDE_OPTIONS := -iquote . -iquote $(PATH1)
......@@ -47,6 +46,8 @@ ARCH_SRC = x86-arch.c
OS_SRC = os-common.c e_rem_pio2.c k_rem_pio2.c
NM = nm -gp
DEPEND = $(CC) -MM -E
DEPEND_FLAGS =
# This has aliasing problems, so turn off aliasing and also turn on
# float-store so x87 arithmetic behaves like double-precision
......
......@@ -2,6 +2,6 @@
include Config.x86_common
UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
OS_SRC += FreeBSD-os.c undefineds.c elf.c
OS_SRC += FreeBSD-os.c elf.c
OS_LINK_FLAGS = -dynamic -export-dynamic
OS_LIBS = -lutil
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.32 2009/01/11 17:52:44 rtoy Exp $
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/GNUmakefile,v 1.33 2009/01/20 04:52:47 agoncharov Rel $
all: lisp.nm
DEPEND = $(CC) -MM -E
DEPEND_FLAGS =
-include internals.inc
include Config
CC ?= gcc
ifndef GC_SRC
GC_SRC = gc.c
endif
SRCS = lisp.c coreparse.c alloc.c monitor.c print.c interr.c \
vars.c parse.c interrupt.c search.c validate.c globals.c \
dynbind.c breakpoint.c regnames.c backtrace.c save.c purify.c \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment