Last change
on this file since 1429 was
1429,
checked in by orlov, 17 years ago
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
660 bytes
|
Line | |
---|
1 | SUBDIRS = \ |
---|
2 | Access \ |
---|
3 | Apply \ |
---|
4 | Arithm \ |
---|
5 | ShortArithm \ |
---|
6 | Box \ |
---|
7 | Class \ |
---|
8 | Convert \ |
---|
9 | StdIO \ |
---|
10 | String \ |
---|
11 | Table \ |
---|
12 | Compare \ |
---|
13 | Dos \ |
---|
14 | Vector \ |
---|
15 | Bit |
---|
16 | |
---|
17 | TOPDIR = .. |
---|
18 | |
---|
19 | include $(TOPDIR)/rules.mk |
---|
20 | |
---|
21 | lists = $(addsuffix /module.list, $(SUBDIRS)) |
---|
22 | |
---|
23 | LIBRF = librf.a |
---|
24 | |
---|
25 | all:: $(LIBRF) |
---|
26 | |
---|
27 | $(LIBRF): $(lists) |
---|
28 | rm -rf $@ |
---|
29 | $(AR) cru $@ $(foreach dir, $(SUBDIRS), $(addprefix $(dir)/, $(shell cat $(dir)/module.list))) |
---|
30 | |
---|
31 | clean:: |
---|
32 | rm -rf $(LIBRF) |
---|
33 | |
---|
34 | install:: all |
---|
35 | mkdir -p -m 0755 $(INSTALL_DIR)/lib |
---|
36 | install -m 0644 $(LIBRF) $(INSTALL_DIR)/lib/ |
---|
37 | mkdir -p -m 0755 $(INSTALL_DIR)/include/refal-plus |
---|
38 | install -m 0644 include/refal-plus/*.rfi $(INSTALL_DIR)/include/refal-plus/ |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.