aboutsummaryrefslogtreecommitdiff
path: root/py/Makefile
diff options
context:
space:
mode:
authorDamien2013-10-12 14:30:21 +0100
committerDamien2013-10-12 14:30:21 +0100
commitc025ebb2dc38891fff1d451d13382d9717fb1d59 (patch)
tree803f297d238417c90893a121bf6926519f469f44 /py/Makefile
parenta56f29262661ba6affc50d2e1f6e27ecc7aac116 (diff)
Separate out mpy core and unix version.
Diffstat (limited to 'py/Makefile')
-rw-r--r--py/Makefile52
1 files changed, 0 insertions, 52 deletions
diff --git a/py/Makefile b/py/Makefile
deleted file mode 100644
index 0f4483d6a..000000000
--- a/py/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-CC = gcc
-CFLAGS = -Wall -ansi -std=gnu99 -Os -DEMIT_ENABLE_CPY -DEMIT_ENABLE_THUMB #-DNDEBUG
-LDFLAGS =
-
-SRC = \
- malloc.c \
- misc.c \
- qstr.c \
- lexer.c \
- lexerfile.c \
- parse.c \
- scope.c \
- compile.c \
- emitcommon.c \
- emitpass1.c \
- emitcpy.c \
- emitbc.c \
- asmx64.c \
- asmthumb.c \
- emitinlinethumb.c \
- runtime.c \
- vm.c \
- main.c \
-
-SRC_ASM = \
-
-OBJ = $(SRC:.c=.o) $(SRC_ASM:.s=.o) emitnx64.o emitnthumb.o
-LIB =
-PROG = py
-
-$(PROG): $(OBJ)
- $(CC) -o $@ $(OBJ) $(LIB) $(LDFLAGS)
-
-runtime.o: runtime.c
- $(CC) $(CFLAGS) -O3 -c -o $@ $<
-
-vm.o: vm.c
- $(CC) $(CFLAGS) -O3 -c -o $@ $<
-
-parse.o: grammar.h
-compile.o: grammar.h
-emitcpy.o: emit.h
-emitbc.o: emit.h
-
-emitnx64.o: emitnative.c emit.h
- $(CC) $(CFLAGS) -DN_X64 -c -o $@ $<
-
-emitnthumb.o: emitnative.c emit.h
- $(CC) $(CFLAGS) -DN_THUMB -c -o $@ $<
-
-clean:
- /bin/rm $(OBJ)