summaryrefslogtreecommitdiff
path: root/Makefile.linux64
diff options
context:
space:
mode:
authorJohn van Groningen2006-11-07 12:10:33 +0000
committerJohn van Groningen2006-11-07 12:10:33 +0000
commitab00f8f5e78dd45413ffadb9d86e50a4b686f63c (patch)
tree5c67949f97d4ac6c3607ad2b8697c6aed1df1d17 /Makefile.linux64
parentfix error in rex prefix for move register to global variable and move global (diff)
add makefile for 64 bit linux
Diffstat (limited to 'Makefile.linux64')
-rw-r--r--Makefile.linux6414
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.linux64 b/Makefile.linux64
new file mode 100644
index 0000000..0c66714
--- /dev/null
+++ b/Makefile.linux64
@@ -0,0 +1,14 @@
+
+CC = gcc
+CFLAGS = -DI486 -DGNU_C -DLINUX -DLINUX_ELF -DG_AI64 -O -fomit-frame-pointer
+
+OBJECTS = cg.o cgcalc.o cgcode.o cginput.o cginstructions.o \
+ cglin.o cgopt.o cgaas.o cgawas.o cgstack.o
+
+cg: $(OBJECTS)
+ gcc -s $(OBJECTS) -o $@
+
+clean:
+ rm $(OBJECTS)
+
+# DO NOT DELETE