X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/699858b4e8a4ec5bbcda5244af026055bcf9121e..e31f9b3f6cdc9554b25b5afc81a0f016ef60f494:/package/cgilib/Makefile diff --git a/package/cgilib/Makefile b/package/cgilib/Makefile index 3e17975c1..9a0534fe5 100644 --- a/package/cgilib/Makefile +++ b/package/cgilib/Makefile @@ -20,7 +20,7 @@ $(eval $(call PKG_template,CGILIB,cgilib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.configured: touch $@ -$(PKG_BUILD_DIR)/.built: +$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ OFLAGS="$(TARGET_CFLAGS)" \ @@ -41,11 +41,10 @@ $(STAGING_DIR)/usr/lib/libcgi.so: $(PKG_BUILD_DIR)/.built touch $@ install-dev: $(STAGING_DIR)/usr/lib/libcgi.so - uninstall-dev: rm -rf \ $(STAGING_DIR)/usr/include/cgi.h \ $(STAGING_DIR)/usr/lib/libcgi.{a,so*} \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev