mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
use libtool to create libraries on macOS
This commit is contained in:
parent
c22323e3ce
commit
5a1629529c
2 changed files with 5 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -184,7 +184,8 @@ runtime.o : runtime.c $(HEADERS)
|
||||||
$< -o $@
|
$< -o $@
|
||||||
|
|
||||||
libcyclone.a : runtime.o gc.o dispatch.o mstreams.o hashset.o
|
libcyclone.a : runtime.o gc.o dispatch.o mstreams.o hashset.o
|
||||||
$(AR) rcs $@ $^
|
$(CREATE_LIBRARY_COMMAND) $(CREATE_LIBRARY_FLAGS) $@ $&
|
||||||
|
$(RANLIB_COMMAND)
|
||||||
# Instructions from: http://www.adp-gmbh.ch/cpp/gcc/create_lib.html
|
# Instructions from: http://www.adp-gmbh.ch/cpp/gcc/create_lib.html
|
||||||
# Note compiler will have to link to this, eg:
|
# Note compiler will have to link to this, eg:
|
||||||
#Linking against static library
|
#Linking against static library
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
#
|
#
|
||||||
# Configuration options for the makefile
|
# Configuration options for the makefile
|
||||||
|
|
||||||
|
& = $(filter-out %.h %.d,$^)
|
||||||
|
|
||||||
CYC_PROFILING ?=
|
CYC_PROFILING ?=
|
||||||
#CYC_PROFILING ?= -g -pg
|
#CYC_PROFILING ?= -g -pg
|
||||||
|
|
||||||
|
@ -105,3 +107,4 @@ else
|
||||||
PLATFORM=unix
|
PLATFORM=unix
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue