remove binary and obj dirs
This commit is contained in:
parent
97316cb334
commit
eb694012c3
25
Makefile
Normal file
25
Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
ARCH=x64
|
||||
PROFILE=Debug
|
||||
NAME=samcraft
|
||||
OUTDIR=$(ARCH)/$(PROFILE)
|
||||
BINARY=$(OUTDIR)/$(NAME)
|
||||
OBJDIR=$(NAME)/$(OUTDIR)
|
||||
|
||||
CC=gcc
|
||||
LD=ld
|
||||
CFLAGS=-O3
|
||||
LDFLAGS=-lraylib
|
||||
|
||||
CFILES=$(shell cd $(NAME) && find -L * -type f -name '*.c')
|
||||
OBJ=$(addprefix $(OBJDIR)/, $(CFILES:.c=.obj))
|
||||
|
||||
$(BINARY): $(OBJ) Makefile
|
||||
mkdir -p $(OUTDIR)
|
||||
$(LD) $(LDFLAGS) $(OBJ) -o $@
|
||||
|
||||
$(OBJDIR)/%.obj: $(NAME)/%.c
|
||||
mkdir -p $(OBJDIR)
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJ) $(BINARY)
|
Binary file not shown.
Binary file not shown.
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\sam\source\repos\samcraft\x64\Debug\samcraft.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
main.c
|
||||
C:\Users\sam\source\repos\samcraft\samcraft\main.c(19,17): warning C4133: '=': incompatible types - from 'Mesh *' to 'float *'
|
||||
samcraft.vcxproj -> C:\Users\sam\source\repos\samcraft\x64\Debug\samcraft.exe
|
||||
'pwsh.exe' is not recognized as an internal or external command,
|
||||
operable program or batch file.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
C:\Users\sam\source\repos\samcraft\samcraft\chunk.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\chunk.obj
|
||||
C:\Users\sam\source\repos\samcraft\samcraft\main.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\main.obj
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.38.33130:TargetPlatformVersion=10.0.22621.0:VcpkgTriplet=x64-windows:
|
||||
Debug|x64|C:\Users\sam\source\repos\samcraft\|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
C:\Users\sam\source\repos\samcraft\samcraft\x64\Debug\samcraft.vcxproj.CopyComplete
|
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
|
||||
C:\Users\sam\source\repos\samcraft\x64\Debug\raylib.dll
|
Binary file not shown.
Binary file not shown.
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>C:\Users\sam\source\repos\samcraft\x64\Release\samcraft.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
<SatelliteDlls />
|
||||
<NonRecipeFileRefs />
|
||||
</Project>
|
Binary file not shown.
Binary file not shown.
|
@ -1,10 +0,0 @@
|
|||
main.c
|
||||
C:\Users\sam\source\repos\samcraft\samcraft\main.c(19,17): warning C4133: '=': incompatible types - from 'Mesh *' to 'float *'
|
||||
Generating code
|
||||
1 of 10 functions (10.0%) were compiled, the rest were copied from previous compilation.
|
||||
0 functions were new in current compilation
|
||||
0 functions had inline decision re-evaluated but remain unchanged
|
||||
Finished generating code
|
||||
samcraft.vcxproj -> C:\Users\sam\source\repos\samcraft\x64\Release\samcraft.exe
|
||||
'pwsh.exe' is not recognized as an internal or external command,
|
||||
operable program or batch file.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
C:\Users\sam\source\repos\samcraft\samcraft\chunk.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\chunk.obj
|
||||
C:\Users\sam\source\repos\samcraft\samcraft\main.c;C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\main.obj
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.38.33130:TargetPlatformVersion=10.0.22621.0:VcpkgTriplet=x64-windows:
|
||||
Release|x64|C:\Users\sam\source\repos\samcraft\|
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
C:\Users\sam\source\repos\samcraft\samcraft\x64\Release\samcraft.vcxproj.CopyComplete
|
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
|
||||
C:\Users\sam\source\repos\samcraft\x64\Release\raylib.dll
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue