summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2005-01-24 15:20:25 +0000
committerJohn van Groningen2005-01-24 15:20:25 +0000
commit359ff0b0217dbe3e22154178bc72e7b88b913404 (patch)
tree27707edbca559905c3da1c0440da7d018d091b93
parentimplement mulUUL and divLU instructions for IA32, (diff)
codegenerator makefile for cygwin
-rw-r--r--Makefile.windows14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.windows b/Makefile.windows
new file mode 100644
index 0000000..891b577
--- /dev/null
+++ b/Makefile.windows
@@ -0,0 +1,14 @@
+NO_CYGWIN = 1
+CC = gcc
+CFLAGS = -mno-cygwin -DI486 -DGNU_C -D_WINDOWS_ -O -fomit-frame-pointer
+
+OBJECTS = cg.o cgcalc.o cgcode.o cginput.o cginstructions.o \
+ cglin.o cgopt.o cgias.o cgiwas.o cgstack.o
+
+cg.exe: $(OBJECTS)
+ gcc -mno-cygwin -s $(OBJECTS) -o $@
+
+clean:
+ rm $(OBJECTS)
+
+# DO NOT DELETE