ROOTDIR = ..
BINARY=mmc_sfmt

PLATFORM = $(shell uname -s)
ifeq ($(findstring MINGW32,$(PLATFORM)), MINGW32)
  FILES=SFMT/SFMT sfmt_rand simpmesh tettracing mcx_utils tictoc drand48_r_libgw32c mmc mmc_host cjson/cJSON
else
  FILES=SFMT/SFMT sfmt_rand simpmesh tettracing mcx_utils tictoc mmc mmc_host cjson/cJSON
endif

#ifeq ($(findstring Darwin,$(PLATFORM)), Darwin)
#  EXTRALIB:=-static-libgcc
#endif

DOXYCFG=mmcdoxy.cfg

USERCCFLAGS=-DMMC_SFMT -DUSE_OS_TIMER -DMEXP=19937

DUMMY:=$(shell mkdir -p built/SFMT built/cjson)

include $(ROOTDIR)/commons/Makefile_common.mk

