mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-06 02:40:26 -08:00
nucleus: build nucleus directly from .c files (not .o)
This commit is contained in:
parent
d1241fbe02
commit
d706faa600
1 changed files with 9 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
top_srcdir= @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
builddir= @true_builddir@
|
||||
|
||||
# Programs used by "make":
|
||||
#
|
||||
|
|
@ -50,6 +51,12 @@ HFILES = $(HDIR)/config.h $(HDIR)/ecl.h $(HDIR)/ecl-cmp.h $(HDIR)/object.h
|
|||
$(HDIR)/impl/math_dispatch.h $(HDIR)/impl/math_fenv.h \
|
||||
$(HDIR)/impl/math_fenv_msvc.h $(HDIR)/nucleus.h
|
||||
|
||||
NUCL_CFLG = -DECL_NUCL -DECL_BUILD -DGC_NO_THREAD_REDIRECTS \
|
||||
-I$(builddir) -I$(srcdir) -g3 -rdynamic
|
||||
|
||||
NUCL_SRCS = boot.c escape.c module.c stacks.c eql.c \
|
||||
memory.c atomic.c process.c apply.c interpreter.c
|
||||
|
||||
BOOT_OBJS = boot.o escape.o module.o stacks.o eql.o
|
||||
|
||||
CLOS_OBJS = clos/cache.o clos/accessor.o clos/instance.o clos/gfun.o
|
||||
|
|
@ -111,8 +118,8 @@ $(HDIR)/%.h: $(top_srcdir)/h/%.h
|
|||
%.o: %.c $(HFILES)
|
||||
$(CC) -DECLDIR="\"@ecldir@\"" $(CFLAGS) -o $@ $<
|
||||
|
||||
nucl: $(NUCL_OBJS) nucl.o
|
||||
$(CC) -I$(srcdir) -I/home/jack/Warsztat/cl-source/ecl/build -I./ -g3 -rdynamic -o $@ $^
|
||||
nucl: $(NUCL_SRCS) nucl.c
|
||||
$(CC) $(NUCL_CFLG) -o $@ $^
|
||||
|
||||
../libeclmin.a: $(OBJS) all_symbols.o all_symbols2.o
|
||||
$(RM) $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue