missed two patches in last commit
[openwrt.git] / toolchain / utils / Makefile
1 include $(TOPDIR)/rules.mk
2
3 TARGETS:=sstrip
4 UTILS_BUILD_DIR:=$(TOOL_BUILD_DIR)/utils
5
6 prepare: $(UTILS_BUILD_DIR)
7 compile: prepare $(patsubst %,$(UTILS_BUILD_DIR)/%,$(TARGETS))
8 install: compile
9 mkdir -p $(STAGING_DIR)/bin
10 cp -a $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/
11 package:
12 clean:
13 rm -rf $(UTILS_BUILD_DIR)
14
15 $(UTILS_BUILD_DIR):
16 mkdir -p $(UTILS_BUILD_DIR)
17
18 $(UTILS_BUILD_DIR)/%: src/%.c
19 $(CC) -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
20 chmod 755 $@
21
This page took 0.044711 seconds and 5 git commands to generate.