massive cleanup of toolchain/
[openwrt.git] / toolchain / sstrip / Makefile
1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/host-build.mk
3
4 PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/sstrip
5
6 OS:=$(shell uname)
7 ifeq ($(OS),Darwin)
8 CFLAGS += -I./include
9 endif
10
11 define Build/Compile
12 $(CC) $(CFLAGS) -o $(PKG_BUILD_DIR)/sstrip src/sstrip.c
13 endef
14
15 define Build/Install
16 $(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin
17 endef
18
19 define Build/Clean
20 rm -f $(STAGING_DIR)/bin/sstrip
21 endef
22
23 $(eval $(call HostBuild))
This page took 0.0483 seconds and 5 git commands to generate.