Browse Source

unix: Rename module sources per latest naming conventions (mod*.c).

pull/430/head
Paul Sokolovsky 11 years ago
parent
commit
c39368427c
  1. 6
      unix/Makefile
  2. 0
      unix/modffi.c
  3. 0
      unix/modsocket.c
  4. 0
      unix/modtime.c

6
unix/Makefile

@ -28,12 +28,12 @@ LDFLAGS_MOD += -lreadline
endif endif
ifeq ($(MICROPY_MOD_TIME),1) ifeq ($(MICROPY_MOD_TIME),1)
CFLAGS_MOD += -DMICROPY_MOD_TIME=1 CFLAGS_MOD += -DMICROPY_MOD_TIME=1
SRC_MOD += time.c SRC_MOD += modtime.c
endif endif
ifeq ($(MICROPY_MOD_FFI),1) ifeq ($(MICROPY_MOD_FFI),1)
CFLAGS_MOD += `pkg-config --cflags libffi` -DMICROPY_MOD_FFI=1 CFLAGS_MOD += `pkg-config --cflags libffi` -DMICROPY_MOD_FFI=1
LDFLAGS_MOD += -ldl -lffi LDFLAGS_MOD += -ldl -lffi
SRC_MOD += ffi.c SRC_MOD += modffi.c
endif endif
@ -50,7 +50,7 @@ SRC_C = \
main.c \ main.c \
gccollect.c \ gccollect.c \
file.c \ file.c \
socket.c \ modsocket.c \
$(SRC_MOD) $(SRC_MOD)
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o)) OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))

0
unix/ffi.c → unix/modffi.c

0
unix/socket.c → unix/modsocket.c

0
unix/time.c → unix/modtime.c

Loading…
Cancel
Save