summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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