a translucent filesystem
[openwrt.git] / openwrt / target / utils / Makefile
1 include $(TOPDIR)/rules.mk
2
3 TARGETS := addpattern trx motorola-bin
4
5 UTILS_BUILD_DIR:=$(BUILD_DIR)/target-utils
6
7 prepare: $(UTILS_BUILD_DIR)
8 compile: prepare $(patsubst %,$(UTILS_BUILD_DIR)/%,$(TARGETS))
9 mkdir -p $(STAGING_DIR)/bin
10 cp -a $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/
11 install: compile
12 package:
13 clean:
14 rm -rf $(UTILS_BUILD_DIR)
15
16 $(UTILS_BUILD_DIR):
17 mkdir -p $(UTILS_BUILD_DIR)
18
19 $(UTILS_BUILD_DIR)/%: src/%.c
20 $(CC) -o $@ $(patsubst $(UTILS_BUILD_DIR)/%,src/%.c,$@)
21 chmod 755 $@
22
This page took 0.054435 seconds and 5 git commands to generate.