Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[408bb9]: Makefile Maximize Restore History

Download this file

Makefile    35 lines (28 with data), 859 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
main: lib
include compiler.make
lib:
cd io; $(MAKE) lib; cd ..
cd utils; $(MAKE) create ; cd ..
echo "Building library is completed."
lib_debug:
cd io; $(MAKE) lib_debug; cd ..
echo "Building debug version of the library is completed."
tests: lib
cd io; $(MAKE); cd ..
cd mng; $(MAKE); cd ..
cd containers; $(MAKE); cd ..
cd algo; $(MAKE); cd ..
cd stream; $(MAKE); cd ..
echo "Building tests is completed."
# Btree (map) is not yet compatible with g++ 3.4.x, therefore it is not
# included into the main tests (the Makefile goal above)
btree_map_test:
cd containers; $(MAKE) btree_map_test; cd ..
echo "Building btree (map) tests is completed."
clean:
cd io; $(MAKE) clean; cd ..
cd mng; $(MAKE) clean; cd ..
cd containers; $(MAKE) clean; cd ..
cd algo; $(MAKE) clean; cd ..
cd stream; $(MAKE) clean; cd ..
echo "Cleaning completed"