1
0

add imgui demo

This commit is contained in:
2024-02-04 15:48:47 +08:00
parent f2cb06b8f9
commit faed1b6eeb
24 changed files with 48666 additions and 11 deletions

View File

@@ -1,12 +1,12 @@
TARGET := cDrive
SRCS := src
SRCS := src imgui
VPATH := $(foreach dir,$(SRCS),$(CURDIR)/$(dir))
CFILES := $(foreach dir,$(SRCS),$(notdir $(wildcard $(dir)/*.c)))
CPPFILES := $(foreach dir,$(SRCS),$(notdir $(wildcard $(dir)/*.cpp)))
OFILES := $(CPPFILES:.cpp=.o) $(CFILES:.c=.o)
INCLUDES := -I$(CURDIR)/include
INCLUDES := -I$(CURDIR)/imgui
CFLAGS := -O2 -Wall $(INCLUDES) `curl-config --cflags`
CXXFLAGS := $(CFLAGS) -fno-rtti -std=c++17
LDFLAGS := `curl-config --libs` `pkg-config glfw3 --libs`