Merge pull request #317 from adamfeuer/homebrew-compatibility

Homebrew compatibility
This commit is contained in:
Justin Ethier 2019-04-12 22:01:24 -04:00 committed by GitHub
commit 6f8dc9d450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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