Skip to content

Commit

Permalink
fix build on linux and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Jan 31, 2024
1 parent ef76a5a commit b48fcf7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Tests.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,23 @@ LIBRARIES=-lmad -lmpg123 -lcurl -ldispatch -lpthread -lBlocksRuntime -lm -ljanss
LDFLAGS=-L$(STATIC_ROOT)/lib -L$(STATIC_ROOT)/lib/x86_64-linux-gnu


TEST_C_SOURCES=$(wildcard src/*.c \
shared/*.c \
src/scriptable/*.c \
shared/scriptable/*.c \
TEST_C_SOURCES=$(wildcard \
external/mp4p/src/*.c \
external/wcwidth/*.c \
plugins/libparser/*.c \
plugins/nullout/*.c \
src/ConvertUTF/*.c \
src/metadata/*.c \
plugins/m3u/*.c \
plugins/vfs_curl/*.c \
plugins/mp3/*.c \
plugins/nullout/*.c \
plugins/shellexec/*.c \
external/mp4p/src/*.c \
external/wcwidth/*.c \
plugins/vfs_curl/*.c \
shared/*.c \
shared/scriptable/*.c \
src/*.c \
src/ConvertUTF/*.c \
src/md5/*.c \
plugins/mp3/*.c \
src/metadata/*.c \
src/scriptable/*.c \
src/undo/*.c\
Tests/*.c)
TEST_C_SOURCES:=$(filter-out src/main.c,$(TEST_C_SOURCES))
TEST_C_OBJS:=$(addprefix $(BUILD)/,\
Expand Down
1 change: 1 addition & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ project "deadbeef"
targetdir "bin/%{cfg.buildcfg}"
files {
"src/md5/*.c",
"src/undo/*.c",
"src/*.c",
"plugins/libparser/*.c",
"external/wcwidth/wcwidth.c",
Expand Down

0 comments on commit b48fcf7

Please sign in to comment.