mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
parent
a417b183c6
commit
de99175cd0
9
Makefile
9
Makefile
@ -141,9 +141,8 @@ uninstall-cjson: uninstall-utils
|
|||||||
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED)
|
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED)
|
||||||
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED_VERSION)
|
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED_VERSION)
|
||||||
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED_SO)
|
$(RM) $(INSTALL_LIBRARY_PATH)/$(CJSON_SHARED_SO)
|
||||||
rmdir $(INSTALL_LIBRARY_PATH)
|
|
||||||
$(RM) $(INSTALL_INCLUDE_PATH)/cJSON.h
|
$(RM) $(INSTALL_INCLUDE_PATH)/cJSON.h
|
||||||
rmdir $(INSTALL_INCLUDE_PATH)
|
|
||||||
#cJSON_Utils
|
#cJSON_Utils
|
||||||
uninstall-utils:
|
uninstall-utils:
|
||||||
$(RM) $(INSTALL_LIBRARY_PATH)/$(UTILS_SHARED)
|
$(RM) $(INSTALL_LIBRARY_PATH)/$(UTILS_SHARED)
|
||||||
@ -151,7 +150,11 @@ uninstall-utils:
|
|||||||
$(RM) $(INSTALL_LIBRARY_PATH)/$(UTILS_SHARED_SO)
|
$(RM) $(INSTALL_LIBRARY_PATH)/$(UTILS_SHARED_SO)
|
||||||
$(RM) $(INSTALL_INCLUDE_PATH)/cJSON_Utils.h
|
$(RM) $(INSTALL_INCLUDE_PATH)/cJSON_Utils.h
|
||||||
|
|
||||||
uninstall: uninstall-utils uninstall-cjson
|
remove-dir:
|
||||||
|
$(if $(wildcard $(INSTALL_LIBRARY_PATH)/*.*),,rmdir $(INSTALL_LIBRARY_PATH))
|
||||||
|
$(if $(wildcard $(INSTALL_INCLUDE_PATH)/*.*),,rmdir $(INSTALL_INCLUDE_PATH))
|
||||||
|
|
||||||
|
uninstall: uninstall-utils uninstall-cjson remove-dir
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(CJSON_OBJ) $(UTILS_OBJ) #delete object files
|
$(RM) $(CJSON_OBJ) $(UTILS_OBJ) #delete object files
|
||||||
|
Loading…
Reference in New Issue
Block a user