Quellcode durchsuchen

优化修改主Makefile文件

niujiuru vor 2 Wochen
Ursprung
Commit
e475633d89
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -135,6 +135,7 @@ yfkj_ssh_client.out : libswapi.a libair530z.a ./sshd/client/client.go
 	$(GO) mod tidy
 	$(SETGO_ENV) CGO_LDFLAGS="$(LIB6)" $(GO_BUILD) $(GO_FLAGS) -o $@ ./sshd/client/*.go
 	@cp $@ ./build/$(basename $@)_$(DATE)$(suffix $@)
+	rm -rf $@
 
 # 综合应用测试程序
 LIBS := -Wl,-Bstatic -L./swapi -lswapi -L./hk_takephoto -lhk_takephoto -L./dh_takephoto -ldh_takephoto -L./air720u -lair720u -L./air530z -lair530z -L./ec200u -lec200u