From 94266d638908a140ef5cdd9b27d2eb367f97249f Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jun 2006 06:19:43 +0000 Subject: massive cleanup of toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/sstrip/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 toolchain/sstrip/Makefile (limited to 'toolchain/sstrip/Makefile') diff --git a/toolchain/sstrip/Makefile b/toolchain/sstrip/Makefile new file mode 100644 index 000000000..aa18e21c5 --- /dev/null +++ b/toolchain/sstrip/Makefile @@ -0,0 +1,23 @@ +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/host-build.mk + +PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/sstrip + +OS:=$(shell uname) +ifeq ($(OS),Darwin) +CFLAGS += -I./include +endif + +define Build/Compile + $(CC) $(CFLAGS) -o $(PKG_BUILD_DIR)/sstrip src/sstrip.c +endef + +define Build/Install + $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin +endef + +define Build/Clean + rm -f $(STAGING_DIR)/bin/sstrip +endef + +$(eval $(call HostBuild)) -- cgit v1.2.3