MAKE ?= make

all: build_gc

build_gc:
	export CFLAGS="-std=gnu11"; \
	export CXXFLAGS="-std=gnu++11"; \
	./configure --enable-cplusplus --enable-threads=pthreads --enable-shared=no --with-pic; \
	$(MAKE)
	cp .libs/libgc.a ../
	cp .libs/libgccpp.a ../ 
