add makefile to support multiple C files (#1195)
* tcc-based vscode project for windows Signed-off-by: misterpah <misterpah@gmail.com> * add makefile to support multiple C files
This commit is contained in:
parent
5ff5be388f
commit
b4af1b2cc0
3 changed files with 21 additions and 1 deletions
12
projects/VSCode_tcc_win/Makefile
Normal file
12
projects/VSCode_tcc_win/Makefile
Normal file
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue