aboutsummaryrefslogtreecommitdiff
path: root/unix-cpy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unix-cpy/Makefile')
-rw-r--r--unix-cpy/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile
index 475b6bd9d..29ccb3277 100644
--- a/unix-cpy/Makefile
+++ b/unix-cpy/Makefile
@@ -9,6 +9,7 @@ SRC_C = \
main.c \
PY_O = \
+ nlrx86.o \
nlrx64.o \
malloc.o \
qstr.o \
@@ -57,13 +58,13 @@ $(PROG): $(BUILD) $(OBJ)
$(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
$(BUILD):
- mkdir $@
+ mkdir -p $@
$(BUILD)/%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
-$(BUILD)/%.o: $(PYSRC)/%.s
- $(AS) -o $@ $<
+$(BUILD)/%.o: $(PYSRC)/%.S
+ $(CC) $(CFLAGS) -c -o $@ $<
$(BUILD)/%.o: $(PYSRC)/%.c mpconfig.h
$(CC) $(CFLAGS) -c -o $@ $<