summaryrefslogtreecommitdiffhomepage
path: root/projects/VSCode_tcc_win/Makefile
diff options
context:
space:
mode:
authorpah arif <[email protected]>2020-04-12 02:01:28 +0800
committerGitHub <[email protected]>2020-04-11 20:01:28 +0200
commitb4af1b2cc0b1e07134765b9e163d83264b63a13f (patch)
tree5f009f9a7d460cdfdbe0ab582e5448920066a0ff /projects/VSCode_tcc_win/Makefile
parent5ff5be388fc2c1618c9134986374e455a93b9e07 (diff)
downloadraylib-b4af1b2cc0b1e07134765b9e163d83264b63a13f.tar.gz
raylib-b4af1b2cc0b1e07134765b9e163d83264b63a13f.zip
add makefile to support multiple C files (#1195)
* tcc-based vscode project for windows Signed-off-by: misterpah <[email protected]> * add makefile to support multiple C files
Diffstat (limited to 'projects/VSCode_tcc_win/Makefile')
-rw-r--r--projects/VSCode_tcc_win/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/projects/VSCode_tcc_win/Makefile b/projects/VSCode_tcc_win/Makefile
new file mode 100644
index 00000000..853052fd
--- /dev/null
+++ b/projects/VSCode_tcc_win/Makefile
@@ -0,0 +1,12 @@
+
+MAIN_CFILE = main.c
+SUPPORT_CFILES =
+
+#**************************************************************************************************
+# raylib makefile for TCC
+#**************************************************************************************************
+CC = tcc
+CFLAGS = -vv -std=c99 -Wall -lmsvcrt -lraylib -lopengl32 -lgdi32 -lkernel32 -lshell32 -luser32 -lwinmm -Wl,-subsystem=gui
+OUTPUT = $(outputExe)
+all:
+ $(CC) -o $(OUTPUT) $(MAIN_CFILE) $(SUPPORT_CFILES) $(CFLAGS) \ No newline at end of file