diff --git a/ion/Makefile b/ion/Makefile index 595b2a67a..f228308f7 100644 --- a/ion/Makefile +++ b/ion/Makefile @@ -1,6 +1,10 @@ SFLAGS += -Iion/include -DKD_CONFIG_H=1 include ion/src/$(PLATFORM)/Makefile +objs += $(addprefix ion/src/, \ + c.o \ +) + tests += $(addprefix ion/test/,\ crc32.cpp\ ) diff --git a/ion/include/ion/c.h b/ion/include/ion/c.h index 5bfacf3ae..ce2ce1b98 100644 --- a/ion/include/ion/c.h +++ b/ion/include/ion/c.h @@ -5,10 +5,10 @@ extern "C" { #endif -void ion_log_print(const char * message) { +void ion_log_print(const char * message); #ifdef __cplusplus -extern "C" { +} #endif #endif diff --git a/ion/src/simulator/Makefile b/ion/src/simulator/Makefile index 5091f72c7..83ff56b48 100644 --- a/ion/src/simulator/Makefile +++ b/ion/src/simulator/Makefile @@ -10,6 +10,7 @@ objs += $(addprefix ion/src/shared/, \ crc32.o \ events.o \ events_from_keyboard.o \ + log.o \ power.o \ )