mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Fixing parallel builds for external libs.
This commit is contained in:
parent
449f44b355
commit
1c9d5b56a1
2 changed files with 3 additions and 6 deletions
5
Makefile
5
Makefile
|
@ -135,12 +135,9 @@ chibi-scheme.pc: chibi-scheme.pc.in
|
||||||
|
|
||||||
# A special case, this needs to be linked with the LDFLAGS in case
|
# A special case, this needs to be linked with the LDFLAGS in case
|
||||||
# we're using Boehm.
|
# we're using Boehm.
|
||||||
lib/chibi/ast$(SO): lib/chibi/ast.c $(INCLUDES)
|
lib/chibi/ast$(SO): lib/chibi/ast.c $(INCLUDES) libchibi-scheme$(SO)
|
||||||
-$(CC) $(CLIBFLAGS) $(CLINKFLAGS) $(XCPPFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ $< $(GCLDFLAGS) -L. -lchibi-scheme
|
-$(CC) $(CLIBFLAGS) $(CLINKFLAGS) $(XCPPFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ $< $(GCLDFLAGS) -L. -lchibi-scheme
|
||||||
|
|
||||||
doc/lib/chibi/%.html: lib/chibi/%.sld $(CHIBI_DOC_DEPENDENCIES)
|
|
||||||
$(CHIBI_DOC) --html chibi.$* > $@
|
|
||||||
|
|
||||||
doc: doc/chibi.html doc-libs
|
doc: doc/chibi.html doc-libs
|
||||||
|
|
||||||
%.html: %.scrbl $(CHIBI_DOC_DEPENDENCIES)
|
%.html: %.scrbl $(CHIBI_DOC_DEPENDENCIES)
|
||||||
|
|
|
@ -48,12 +48,12 @@ all-libs: $(COMPILED_LIBS)
|
||||||
lib/%.c: lib/%.stub $(CHIBI_FFI_DEPENDENCIES)
|
lib/%.c: lib/%.stub $(CHIBI_FFI_DEPENDENCIES)
|
||||||
$(CHIBI_FFI) $<
|
$(CHIBI_FFI) $<
|
||||||
|
|
||||||
lib/%$(SO): lib/%.c $(INCLUDES)
|
lib/%$(SO): lib/%.c $(INCLUDES) libchibi-scheme$(SO)
|
||||||
$(CC) $(CLIBFLAGS) $(CLINKFLAGS) $(XCPPFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ $< -L. $(XLIBS) -lchibi-scheme
|
$(CC) $(CLIBFLAGS) $(CLINKFLAGS) $(XCPPFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ $< -L. $(XLIBS) -lchibi-scheme
|
||||||
|
|
||||||
doc-libs: $(HTML_LIBS)
|
doc-libs: $(HTML_LIBS)
|
||||||
|
|
||||||
doc/lib/%.html: lib/%.sld
|
doc/lib/%.html: lib/%.sld $(CHIBI_DOC_DEPENDENCIES)
|
||||||
$(MKDIR) $(dir $@)
|
$(MKDIR) $(dir $@)
|
||||||
$(CHIBI_DOC) --html $(subst /,.,$*) > $@
|
$(CHIBI_DOC) --html $(subst /,.,$*) > $@
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue