Last change
on this file since 1101 was
1101,
checked in by luba, 17 years ago
|
- Makefile for short arithmetic functions
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
391 bytes
|
Line | |
---|
1 | TOPDIR = ../.. |
---|
2 | |
---|
3 | include $(TOPDIR)/rules.mk |
---|
4 | |
---|
5 | CPPFLAGS += $(RFLIB_CFLAGS) |
---|
6 | |
---|
7 | MODULES = \ |
---|
8 | add \ |
---|
9 | sub \ |
---|
10 | div \ |
---|
11 | mult \ |
---|
12 | rem \ |
---|
13 | div_rem \ |
---|
14 | gcd \ |
---|
15 | neg |
---|
16 | |
---|
17 | SOURCES = $(addsuffix .cc, $(MODULES)) |
---|
18 | OBJECTS = $(addsuffix .o, $(MODULES)) |
---|
19 | DEPS = $(addsuffix .dep, $(MODULES)) |
---|
20 | |
---|
21 | all:: module.list |
---|
22 | |
---|
23 | module.list: $(OBJECTS) |
---|
24 | echo $^ >module.list |
---|
25 | |
---|
26 | clean:: |
---|
27 | rm -rf *.o *.dep module.list |
---|
28 | |
---|
29 | -include $(DEPS) |
---|
Note: See
TracBrowser
for help on using the repository browser.