diff --git a/unix/Makefile b/unix/Makefile index b0899ecac5..ac1baf3d00 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -28,12 +28,12 @@ LDFLAGS_MOD += -lreadline endif ifeq ($(MICROPY_MOD_TIME),1) CFLAGS_MOD += -DMICROPY_MOD_TIME=1 -SRC_MOD += time.c +SRC_MOD += modtime.c endif ifeq ($(MICROPY_MOD_FFI),1) CFLAGS_MOD += `pkg-config --cflags libffi` -DMICROPY_MOD_FFI=1 LDFLAGS_MOD += -ldl -lffi -SRC_MOD += ffi.c +SRC_MOD += modffi.c endif @@ -50,7 +50,7 @@ SRC_C = \ main.c \ gccollect.c \ file.c \ - socket.c \ + modsocket.c \ $(SRC_MOD) OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) diff --git a/unix/ffi.c b/unix/modffi.c similarity index 100% rename from unix/ffi.c rename to unix/modffi.c diff --git a/unix/socket.c b/unix/modsocket.c similarity index 100% rename from unix/socket.c rename to unix/modsocket.c diff --git a/unix/time.c b/unix/modtime.c similarity index 100% rename from unix/time.c rename to unix/modtime.c