Executable
This commit is contained in:
parent
2c88a01cfd
commit
a45862c454
16
Makefile
Normal file → Executable file
16
Makefile
Normal file → Executable file
|
@ -30,7 +30,7 @@ esrcs := $(shell find ./source/engine -name '*.c*')
|
||||||
esrcs := $(filter-out %sqlite3.c %shell.c, $(esrcs))
|
esrcs := $(filter-out %sqlite3.c %shell.c, $(esrcs))
|
||||||
eheaders := $(shell find ./source/engine -name '*.h')
|
eheaders := $(shell find ./source/engine -name '*.h')
|
||||||
edirs := $(addprefix $(ETP), Chipmunk2D/include bitmap-outliner cgltf enet/include pl_mpeg s7 sqlite3 stb) ./source/engine # $(shell find ./source/engine -type d)
|
edirs := $(addprefix $(ETP), Chipmunk2D/include bitmap-outliner cgltf enet/include pl_mpeg s7 sqlite3 stb) ./source/engine # $(shell find ./source/engine -type d)
|
||||||
edirs := $(filter-out %docs %doc %include% %src %examples , $(edirs))
|
edirs := $(filter-out %docs %doc %include% %src %examples , $(edirs)) /usr/include/directfb
|
||||||
|
|
||||||
eobjects := $(sort $(patsubst .%.cpp, $(objprefix)%.o, $(filter %.cpp, $(esrcs))) $(patsubst .%.c, $(objprefix)%.o, $(filter %.c, $(esrcs))))
|
eobjects := $(sort $(patsubst .%.cpp, $(objprefix)%.o, $(filter %.cpp, $(esrcs))) $(patsubst .%.c, $(objprefix)%.o, $(filter %.c, $(esrcs))))
|
||||||
|
|
||||||
|
@ -71,10 +71,10 @@ COMPILER_FLAGS := -g -O0 $(WARNING_FLAGS)
|
||||||
LIBPATH := $(addprefix -L, .)
|
LIBPATH := $(addprefix -L, .)
|
||||||
|
|
||||||
ifeq ($(UNAME), Windows_NT)
|
ifeq ($(UNAME), Windows_NT)
|
||||||
LINKER_FLAGS:= -static
|
LINKER_FLAGS:= -static -DSDL_MAIN_HANDLED
|
||||||
# DYNAMIC LIBS: SDL2 opengl32
|
ELIBS := engine mingw32 SDL2main SDL2 m dinput8 dxguid dxerr8 user32 gdi32 winmm imm32 ole32 oleaut32 shell32 version uuid setupapi opengl32 stdc++ winpthread
|
||||||
ELIBS := glew32 mingw32 SDL2main SDL2 m dinput8 dxguid dxerr8 user32 gdi32 winmm imm32 ole32 oleaut32 shell32 version uuid setupapi opengl32 stdc++ winpthread
|
ELIBS := $(ELIBS) SDL2_mixer FLAC vorbis vorbisenc vorbisfile mpg123 out123 syn123 opus opusurl opusfile ogg ssp shlwapi
|
||||||
CLIBS :=
|
CLIBS := glew32
|
||||||
EXT := .exe
|
EXT := .exe
|
||||||
else
|
else
|
||||||
LINKER_FLAGS :=
|
LINKER_FLAGS :=
|
||||||
|
@ -101,8 +101,8 @@ libengine.a: $(eobjects)
|
||||||
|
|
||||||
xbrainstorm: libengine.a $(bsobjects)
|
xbrainstorm: libengine.a $(bsobjects)
|
||||||
@echo Making brainstorm
|
@echo Making brainstorm
|
||||||
$(CXX) $(bsobjects) -DGLEW_STATIC $(includeflag) $(LIBPATH) $(LINKER_FLAGS) $(LELIBS) -o $@
|
@$(CXX) $(bsobjects) -DGLEW_STATIC $(includeflag) $(LIBPATH) $(LINKER_FLAGS) $(LELIBS) -o $@
|
||||||
mv xbrainstorm brainstorm/xbrainstorm
|
mv xbrainstorm brainstorm/brainstorm$(EXT)
|
||||||
|
|
||||||
$(objprefix)/%.o:%.cpp
|
$(objprefix)/%.o:%.cpp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
|
@ -116,5 +116,5 @@ $(objprefix)/%.o:%.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning project
|
@echo Cleaning project
|
||||||
@rm -f $(eobjects)
|
@rm -f $(eobjects) $(bsobjects)
|
||||||
|
|
||||||
|
|
0
source/editor/debug.c
Normal file → Executable file
0
source/editor/debug.c
Normal file → Executable file
0
source/editor/debug.h
Normal file → Executable file
0
source/editor/debug.h
Normal file → Executable file
0
source/editor/editor.cpp
Normal file → Executable file
0
source/editor/editor.cpp
Normal file → Executable file
0
source/editor/editor.h
Normal file → Executable file
0
source/editor/editor.h
Normal file → Executable file
0
source/editor/editorstate.c
Normal file → Executable file
0
source/editor/editorstate.c
Normal file → Executable file
0
source/editor/editorstate.h
Normal file → Executable file
0
source/editor/editorstate.h
Normal file → Executable file
0
source/editor/imgui/LICENSE.txt
Normal file → Executable file
0
source/editor/imgui/LICENSE.txt
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_allegro5.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_allegro5.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_allegro5.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_allegro5.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_android.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_android.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_android.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_android.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx10.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx10.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx10.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx10.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx11.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx11.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx11.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx11.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx12.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx12.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx12.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx12.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx9.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx9.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx9.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_dx9.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glfw.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glfw.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glfw.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glfw.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glut.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glut.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glut.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_glut.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_marmalade.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_marmalade.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_marmalade.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_marmalade.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_metal.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_metal.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_metal.mm
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_metal.mm
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl2.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl2.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl2.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl2.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3_loader.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_opengl3_loader.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_osx.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_osx.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_osx.mm
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_osx.mm
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_sdl.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_sdl.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_sdl.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_sdl.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_vulkan.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_vulkan.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_vulkan.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_vulkan.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_wgpu.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_wgpu.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_wgpu.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_wgpu.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_win32.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_win32.cpp
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_win32.h
Normal file → Executable file
0
source/editor/imgui/backends/imgui_impl_win32.h
Normal file → Executable file
0
source/editor/imgui/backends/vulkan/glsl_shader.frag
Normal file → Executable file
0
source/editor/imgui/backends/vulkan/glsl_shader.frag
Normal file → Executable file
0
source/editor/imgui/backends/vulkan/glsl_shader.vert
Normal file → Executable file
0
source/editor/imgui/backends/vulkan/glsl_shader.vert
Normal file → Executable file
0
source/editor/imgui/imconfig.h
Normal file → Executable file
0
source/editor/imgui/imconfig.h
Normal file → Executable file
0
source/editor/imgui/imgui.cpp
Normal file → Executable file
0
source/editor/imgui/imgui.cpp
Normal file → Executable file
0
source/editor/imgui/imgui.h
Normal file → Executable file
0
source/editor/imgui/imgui.h
Normal file → Executable file
0
source/editor/imgui/imgui_demo.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_demo.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_draw.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_draw.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_internal.h
Normal file → Executable file
0
source/editor/imgui/imgui_internal.h
Normal file → Executable file
0
source/editor/imgui/imgui_tables.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_tables.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_widgets.cpp
Normal file → Executable file
0
source/editor/imgui/imgui_widgets.cpp
Normal file → Executable file
0
source/editor/imgui/imstb_rectpack.h
Normal file → Executable file
0
source/editor/imgui/imstb_rectpack.h
Normal file → Executable file
0
source/editor/imgui/imstb_textedit.h
Normal file → Executable file
0
source/editor/imgui/imstb_textedit.h
Normal file → Executable file
0
source/editor/imgui/imstb_truetype.h
Normal file → Executable file
0
source/editor/imgui/imstb_truetype.h
Normal file → Executable file
0
source/engine/2dcamera.h
Normal file → Executable file
0
source/engine/2dcamera.h
Normal file → Executable file
0
source/engine/2dphysics.c
Normal file → Executable file
0
source/engine/2dphysics.c
Normal file → Executable file
0
source/engine/2dphysics.h
Normal file → Executable file
0
source/engine/2dphysics.h
Normal file → Executable file
0
source/engine/3dphysics.c
Normal file → Executable file
0
source/engine/3dphysics.c
Normal file → Executable file
0
source/engine/3dphysics.h
Normal file → Executable file
0
source/engine/3dphysics.h
Normal file → Executable file
0
source/engine/billboard.h
Normal file → Executable file
0
source/engine/billboard.h
Normal file → Executable file
0
source/engine/camera.c
Normal file → Executable file
0
source/engine/camera.c
Normal file → Executable file
0
source/engine/camera.h
Normal file → Executable file
0
source/engine/camera.h
Normal file → Executable file
0
source/engine/component.h
Normal file → Executable file
0
source/engine/component.h
Normal file → Executable file
0
source/engine/config.h
Normal file → Executable file
0
source/engine/config.h
Normal file → Executable file
0
source/engine/datastream.c
Normal file → Executable file
0
source/engine/datastream.c
Normal file → Executable file
0
source/engine/datastream.h
Normal file → Executable file
0
source/engine/datastream.h
Normal file → Executable file
0
source/engine/debugdraw.c
Normal file → Executable file
0
source/engine/debugdraw.c
Normal file → Executable file
0
source/engine/debugdraw.h
Normal file → Executable file
0
source/engine/debugdraw.h
Normal file → Executable file
0
source/engine/engine.c
Normal file → Executable file
0
source/engine/engine.c
Normal file → Executable file
0
source/engine/engine.h
Normal file → Executable file
0
source/engine/engine.h
Normal file → Executable file
0
source/engine/font.c
Normal file → Executable file
0
source/engine/font.c
Normal file → Executable file
0
source/engine/font.h
Normal file → Executable file
0
source/engine/font.h
Normal file → Executable file
0
source/engine/gameobject.c
Normal file → Executable file
0
source/engine/gameobject.c
Normal file → Executable file
0
source/engine/gameobject.h
Normal file → Executable file
0
source/engine/gameobject.h
Normal file → Executable file
0
source/engine/gizmo.c
Normal file → Executable file
0
source/engine/gizmo.c
Normal file → Executable file
0
source/engine/gizmo.h
Normal file → Executable file
0
source/engine/gizmo.h
Normal file → Executable file
0
source/engine/input.c
Normal file → Executable file
0
source/engine/input.c
Normal file → Executable file
0
source/engine/input.h
Normal file → Executable file
0
source/engine/input.h
Normal file → Executable file
0
source/engine/level.c
Normal file → Executable file
0
source/engine/level.c
Normal file → Executable file
0
source/engine/level.h
Normal file → Executable file
0
source/engine/level.h
Normal file → Executable file
0
source/engine/light.c
Normal file → Executable file
0
source/engine/light.c
Normal file → Executable file
0
source/engine/light.h
Normal file → Executable file
0
source/engine/light.h
Normal file → Executable file
0
source/engine/log.c
Normal file → Executable file
0
source/engine/log.c
Normal file → Executable file
0
source/engine/log.h
Normal file → Executable file
0
source/engine/log.h
Normal file → Executable file
0
source/engine/mathc.c
Normal file → Executable file
0
source/engine/mathc.c
Normal file → Executable file
0
source/engine/mathc.h
Normal file → Executable file
0
source/engine/mathc.h
Normal file → Executable file
0
source/engine/mesh.c
Normal file → Executable file
0
source/engine/mesh.c
Normal file → Executable file
0
source/engine/mesh.h
Normal file → Executable file
0
source/engine/mesh.h
Normal file → Executable file
0
source/engine/model.c
Normal file → Executable file
0
source/engine/model.c
Normal file → Executable file
0
source/engine/model.h
Normal file → Executable file
0
source/engine/model.h
Normal file → Executable file
0
source/engine/openglrender.c
Normal file → Executable file
0
source/engine/openglrender.c
Normal file → Executable file
0
source/engine/openglrender.h
Normal file → Executable file
0
source/engine/openglrender.h
Normal file → Executable file
0
source/engine/registry.c
Normal file → Executable file
0
source/engine/registry.c
Normal file → Executable file
0
source/engine/registry.h
Normal file → Executable file
0
source/engine/registry.h
Normal file → Executable file
0
source/engine/render.c
Normal file → Executable file
0
source/engine/render.c
Normal file → Executable file
0
source/engine/render.h
Normal file → Executable file
0
source/engine/render.h
Normal file → Executable file
0
source/engine/resources.c
Normal file → Executable file
0
source/engine/resources.c
Normal file → Executable file
0
source/engine/resources.h
Normal file → Executable file
0
source/engine/resources.h
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue