summaryrefslogtreecommitdiff
path: root/os2w1/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-23 18:03:35 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-23 18:03:35 +0200
commit14f65e6875ba4c7c6f101b6f847419f194ed697c (patch)
treef6f59c7fd871e616bb603682e3fe5c7561769fd2 /os2w1/makefile
parenta6a4f8079f990705cf7007e74d5d1bc1d906e306 (diff)
os2w1 gemaakt
Diffstat (limited to 'os2w1/makefile')
-rw-r--r--os2w1/makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/os2w1/makefile b/os2w1/makefile
new file mode 100644
index 0000000..258d688
--- /dev/null
+++ b/os2w1/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
+