1 |
############################################################################### |
2 |
# |
3 |
# FILE NAME: Make.def.post |
4 |
# VERSION: 1.2 |
5 |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: 2007-03-14 |
7 |
# |
8 |
# DESCRIPTION: base Makefile |
9 |
# |
10 |
# REVISION HISTORY: |
11 |
# |
12 |
# Version Date Author Change Description |
13 |
# |
14 |
############################################################################### |
15 |
|
16 |
distclean-sub: |
17 |
ifeq ($(verbose),) |
18 |
@find . -name "obj" | xargs rm -rf |
19 |
else |
20 |
find . -name "obj" | xargs rm -rf |
21 |
endif |
22 |
|
23 |
help: |
24 |
@echo "You shall set BASEDIR env variable to your path," ;\ |
25 |
echo "Otherwise it will be set to your current path." ;\ |
26 |
echo "" ;\ |
27 |
echo "Available target:" ;\ |
28 |
echo "all" ;\ |
29 |
echo "clean (Recursively call 'make clean')" ;\ |
30 |
echo "distclean (Equivalent to cleanalldep cleanall e rm -rf *~)";\ |
31 |
echo "var (show values of relevant var in sub-tree)" ;\ |
32 |
echo "help (This help)" ;\ |
33 |
echo "" ;\ |
34 |
echo "Available compilation var:" ;\ |
35 |
echo "debug = " $(debug);\ |
36 |
echo "release = " $(release);\ |
37 |
echo "BASEDIR = " $(BASEDIR);\ |
38 |
echo "OBJDIR = " $(OBJDIR);\ |
39 |
echo "CC = " $(CC);\ |
40 |
echo "CXX = " $(CXX);\ |
41 |
echo "AR = " $(AR);\ |
42 |
echo "CXXLD = " $(CXXLD);\ |
43 |
echo "CFLAGS = " $(CFLAGS);\ |
44 |
echo "LDFLAGS = " $(LDFLAGS);\ |
45 |
|
46 |
var: |
47 |
@echo "Available compilation var:" ;\ |
48 |
echo "debug = " $(debug);\ |
49 |
echo "release = " $(release);\ |
50 |
echo "BASEDIR = " $(BASEDIR);\ |
51 |
echo "OBJDIR = " $(OBJDIR);\ |
52 |
echo "EXTDIR = " $(EXTDIR);\ |
53 |
echo "CC = " $(CC);\ |
54 |
echo "CXX = " $(CXX);\ |
55 |
echo "AR = " $(AR);\ |
56 |
echo "CXXLD = " $(CXXLD);\ |
57 |
echo "CFLAGS = " $(CFLAGS);\ |
58 |
echo "" ;\ |
59 |
echo "OBJS = " $(OBJS);\ |
60 |
echo "DEPEND = " $(DEPEND);\ |
61 |
echo "OBJDIR_S = " $(OBJDIR_S);\ |
62 |
echo "LIBS = " $(LIBS);\ |
63 |
echo "LDFLAGS = " $(LDFLAGS);\ |
64 |
echo "" |
65 |
|
66 |
|
67 |
#------------------------------------------------------------------------------ |