File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ endif
191191SETUP_EXE := phiola-$(PKG_VER ) -windows-x64-setup.exe
192192setup_exe : $(SETUP_EXE )
193193$(SETUP_EXE ) : phiola-$(PKG_VER ) -windows-x64.zip
194- $(MAKE ) -f .. /installer/exe/Makefile
194+ $(MAKE ) -f $( PHIOLA ) /installer/exe/Makefile ROOT= $( ROOT_DIR ) COMPILER= $( COMPILER )
195195
196196release : default
197197 $(SUBMAKE ) package
Original file line number Diff line number Diff line change 33include ../config.mk
44
55VER := 1.3.7
6- URL := http ://downloads. xiph.org/ releases/vorbis /libvorbis-$(VER ) .tar.xz
6+ URL := https ://github.com/ xiph/vorbis/ releases/download/v $( VER ) /libvorbis-$(VER ) .tar.xz
77SHA256SUM := b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b
88PKG := $(ALIB3 ) /vorbis/$(notdir $(URL ) )
99DIR := libvorbis-$(VER )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ VER="${TAG#v}"
1515
1616case " $TARGET " in
1717 linux-amd64)
18+ ARGS=" "
1819 ;;
1920
2021 linux-arm64)
@@ -35,8 +36,8 @@ export PATH="$PATH:/usr/lib/llvm-19/bin"
3536mkdir -p _$TARGET
3637make -j$( nproc) \
3738 -C _$TARGET \
38- -f .. /Makefile \
39- ROOT_DIR=../.. \
39+ -f /src/phiola /Makefile \
40+ ROOT_DIR=/src \
4041 COMPILER=clang \
4142 CFLAGS_USER=-fno-diagnostics-color \
4243 PHI_VERSION_STR=" $VER " \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ FFSYS := $(ROOT)/ffsys
88FFBASE := $(ROOT ) /ffbase
99
1010include $(FFBASE ) /conf.mk
11- FFPACK_BIN := $( FFPACK ) /_windows- $( CPU )
11+ FFPACK_BIN := ffpack
1212FFPACK_FLAGS := OS=$(OS ) SYS=$(SYS ) COMPILER=$(COMPILER ) CPU=$(CPU )
1313ifneq "$(SYS ) " "android"
1414 FFPACK_FLAGS += LINKFLAGS_USER='-fuse-ld=lld'
@@ -27,7 +27,8 @@ OBJ += \
2727 ffgui-winapi.o \
2828 ffgui-winapi-loader.o \
2929 str-format.o
30- LINKFLAGS += -Wl,--gc-sections \
30+ LINKFLAGS += -fuse-ld=lld \
31+ -Wl,--gc-sections \
3132 -lshell32 -luxtheme -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -luuid
3233
3334ifeq "$(DEBUG ) " "1"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ else ifeq "$(OS)" "windows"
1111 LIBS3 += $(LIBCURSES)
1212endif
1313
14- tui2.o : $(PHIOLA ) /src/tui2/tui2.c
14+ tui2.o : $(PHIOLA ) /src/tui2/tui2.c | $( LIBCURSES )
1515 $(C ) $(CFLAGS ) $(CF_CURSES ) $< -o $@
1616
1717tui2.$(SO ) : tui2.o $(LIBCURSES )
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ CC := clang -target x86_64-w64-mingw32
1111WINDRES := llvm-windres
1212STRIP := llvm-strip
1313
14+ default : $(LIB )
15+
1416$(PKG ) :
1517 $(CURL ) $@ $(URL )
1618
@@ -22,5 +24,6 @@ $(LIB): $(DIR)
2224 cd $(DIR ) /wincon \
2325 && $(MAKE ) DLL=Y WIDE=Y UTF8=Y \
2426 CC=" $( CC) " \
27+ LIBFLAGS=" -fuse-ld=lld -shared -o" \
2528 WINDRES=$(WINDRES )
2629 $(STRIP ) $@
You can’t perform that action at this time.
0 commit comments