增加读取CFLAGS环境变量

修复加密后编译输出的二进制程序不能读取参数
增加upx压缩二进制输出文件
This commit is contained in:
2022-09-13 12:49:32 +08:00
parent a3d68f9fd9
commit fd5efa86e2
6 changed files with 121 additions and 29 deletions

View File

@@ -10,6 +10,12 @@ all: aes.o sha.o
.c.o:
$(CC) $(CFLAGS) -c $<
install:
cp $(OBJ) /bin/sha
uninstall:
rm /bin/$(OBJ)
clean:
rm -rf *.o
rm $(OBJ)