summaryrefslogtreecommitdiff
path: root/os2w2/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-04-26 09:36:16 +0200
committerlonkaars <loek@pipeframe.xyz>2023-04-26 09:36:16 +0200
commit17dd9cdc6d5beb636695e5becbc93275524665af (patch)
treeac1adf24a1d9f5af0f60a441e6593ff365c21166 /os2w2/makefile
parent14f65e6875ba4c7c6f101b6f847419f194ed697c (diff)
os2w2 klaar
Diffstat (limited to 'os2w2/makefile')
-rw-r--r--os2w2/makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/os2w2/makefile b/os2w2/makefile
new file mode 100644
index 0000000..1b726be
--- /dev/null
+++ b/os2w2/makefile
@@ -0,0 +1,16 @@
+CC = gcc
+LD = gcc
+
+CFLAGS += -g
+
+all: main
+
+main: main.o
+ $(LD) $^ $(LFLAGS) -o $@
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) $< -o $@
+
+clean:
+ $(RM) main.o main
+