summaryrefslogtreecommitdiff
path: root/os2w3/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'os2w3/makefile')
-rw-r--r--os2w3/makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/os2w3/makefile b/os2w3/makefile
new file mode 100644
index 0000000..258d688
--- /dev/null
+++ b/os2w3/makefile
@@ -0,0 +1,17 @@
+CPP = g++
+LD = g++
+
+LFLAGS += -lstdc++
+CFLAGS += -g
+
+all: main
+
+main: main.o
+ $(LD) $^ $(LFLAGS) -o $@
+
+%.o: %.cpp
+ $(CPP) -c $(CFLAGS) $< -o $@
+
+clean:
+ $(RM) main.o main
+