fix makefile
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
TARGET = xplayer
|
||||
|
||||
SRCS = main.cpp
|
||||
SRCS = src/main.cpp
|
||||
OBJS = $(SRCS:.cpp=.o)
|
||||
|
||||
INCLUDES := -I$(CURDIR)
|
||||
CFLAGS := -g -Wall $(INCLUDES)
|
||||
CFLAGS := -O2 -Wall $(shell pkg-config sdl2 --cflags)
|
||||
CXXFLAGS := $(CFLAGS) -std=c++17
|
||||
LDFLAGS := `pkg-config sdl2 mpv --libs`
|
||||
LDFLAGS := -Wl,-Bdynamic $(shell pkg-config sdl2 mpv --libs) \
|
||||
-mconsole -static-libgcc -static-libstdc++ -static
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user