Add shared object for openlibm and pthreads-emb

This commit is contained in:
Jeremy Soller
2019-04-11 20:10:08 -06:00
parent 2fdca9bd0a
commit cf800b5282
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -140,6 +140,9 @@ $(BUILD)/openlibm: openlibm
$(BUILD)/openlibm/libopenlibm.a: $(BUILD)/openlibm $(BUILD)/include
$(MAKE) CC=$(CC) CPPFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libopenlibm.a
$(BUILD)/openlibm/libopenlibm.so: $(BUILD)/openlibm $(BUILD)/include
$(MAKE) CC=$(CC) CPPFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libopenlibm.so.2.5
$(BUILD)/pthreads-emb: pthreads-emb
rm -rf $@ $@.partial
mkdir -p $(BUILD)
@@ -149,3 +152,6 @@ $(BUILD)/pthreads-emb: pthreads-emb
$(BUILD)/pthreads-emb/libpthread.a: $(BUILD)/pthreads-emb $(BUILD)/include
$(MAKE) CC=$(CC) CFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libpthread.a
$(BUILD)/pthreads-emb/libpthread.so: $(BUILD)/pthreads-emb $(BUILD)/include
$(MAKE) CC=$(CC) CFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libpthread.so