Skip to content

Commit 4c92c29

Browse files
committed
added version.txt into makefile
1 parent cadb142 commit 4c92c29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SOURCES_AES_ACC=$(COMMON) $(wildcard lib/aes_acc/aes*.c)
1515

1616
NAME=udp2raw
1717
TARGETS=amd64 arm amd64_hw_aes arm_asm_aes mips24kc_be mips24kc_be_asm_aes x86 x86_asm_aes mips24kc_le mips24kc_le_asm_aes
18-
TAR=${NAME}_binaries.tar.gz `echo ${TARGETS}|sed -r 's/([^ ]+)/udp2raw_\1/g'`
18+
TAR=${NAME}_binaries.tar.gz `echo ${TARGETS}|sed -r 's/([^ ]+)/udp2raw_\1/g'` version.txt
1919

2020
all:git_version
2121
rm -f ${NAME}
@@ -69,6 +69,7 @@ cross3:git_version
6969
${cc_cross} -o ${NAME}_cross -I. ${SOURCES} ${FLAGS} -lrt -static -O3
7070

7171
release: ${TARGETS}
72+
cp git_version.h version.txt
7273
tar -zcvf ${TAR}
7374

7475
clean:

0 commit comments

Comments
 (0)