TARGET_D = ginge_dyn$(TAG)
OBJ += emu.o host.o host_fb.o cmn.o
-OBJ += ../common/libpicofe/input.o
-OBJ += ../common/libpicofe/linux/plat.o
-OBJ += ../common/libpicofe/linux/in_evdev.o
OBJ_S += $(OBJ) loader.o loader_$(ARCH).o patches.o
OBJ_D += $(OBJ) dl.o
#include "header.h"
#include "realfuncs.h"
+// must be affected by realfuncs.h
+#include "../common/libpicofe/input.c"
+#include "../common/libpicofe/linux/plat.c"
+#include "../common/libpicofe/linux/in_evdev.c"
+
#ifdef PND
#include "host_pnd.c"
#elif defined(WIZ)