summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2021-04-28 23:39:13 +0200
committerMiguel <m.i@gmx.at>2021-04-28 23:39:13 +0200
commit6dedf2c8289368bfd6969365113ba772fc7fb746 (patch)
treecca5fd019dca13eba8ec9f5f166209741d679cfe /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..55391b4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+run: a.exe glfw3.dll
+ ./a.exe
+
+glad.c:
+ cp /cygdrive/c/PROG/glad/src/glad.c .
+
+glfw3.dll:
+ cp /cygdrive/c/PROG/glfw-3.3.4.bin.WIN64/lib-static-ucrt/glfw3.dll .
+
+a.exe: example.cpp glad.c
+ g++ -I /cygdrive/C/PROG/glad/include/ -I /cygdrive/C/PROG/glfw-3.3.4.bin.WIN64/include/ -L /cygdrive/C/PROG/glfw-3.3.4.bin.WIN64/lib-static-ucrt/ -lglfw3 example.cpp glad.c
+
+clean:
+ rm glfw3.dll
+ rm glad.c
+ rm a.exe