1
0

Initial commit

This commit is contained in:
2023-08-29 02:06:18 +00:00
commit d0ac034c5d
11 changed files with 5129 additions and 0 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
TARGET = xplayer
SRCS = main.cpp
OBJS = $(SRCS:.cpp=.o)
INCLUDES := -I$(CURDIR)
CFLAGS := -g -Wall $(INCLUDES)
CXXFLAGS := $(CFLAGS) -DUSE_D3D11 -std=c++17
LDFLAGS := `pkg-config mpv glfw3 --libs` -ld3d11
all: $(TARGET)
$(TARGET): $(OBJS)
$(CXX) -o $@ $^ $(LDFLAGS)
run: all
@./$(TARGET)
.PHONY: clean
clean:
$(RM) $(OBJS) $(TARGET)