source: to-imperative/trunk/library/ShortArithm/Makefile @ 1101

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 
1TOPDIR = ../..
2
3include $(TOPDIR)/rules.mk
4
5CPPFLAGS += $(RFLIB_CFLAGS)
6
7MODULES = \
8  add \
9  sub \
10  div \
11  mult \
12  rem \
13  div_rem \
14  gcd \
15  neg
16
17SOURCES = $(addsuffix .cc, $(MODULES))
18OBJECTS = $(addsuffix .o, $(MODULES))
19DEPS = $(addsuffix .dep, $(MODULES))
20
21all:: module.list
22
23module.list: $(OBJECTS)
24         echo $^ >module.list
25
26clean::
27        rm -rf *.o *.dep module.list
28
29-include $(DEPS)
Note: See TracBrowser for help on using the repository browser.