OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librlinktpp/] [Makefile] - Blame information for rev 12

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 wfjm
# $Id: Makefile 401 2011-07-31 21:02:33Z mueller $
2 10 wfjm
#
3
#  Revision History:
4
# Date         Rev Version  Comment
5 12 wfjm
# 2011-07-31   401   1.1    rename realclean->distclean
6
# 2011-07-01   386   1.0.2  add BOOSTINC
7 10 wfjm
# 2011-03-20   372   1.0.1  renamed ..tcl -> ..tpp
8
# 2011-02-12   360   1.0    Initial version
9
#---
10
#
11
# Name of the sharable library
12
#
13
SONAME     = rlinktpp
14
SOMAJV     = 1
15
SOMINV     = 0
16
#
17
# Compile and Link search paths
18
#
19 12 wfjm
INCLFLAGS  = -I/usr/include/tcl8.4 -I${RETROBASE}/tools/src -I${BOOSTINC}
20 10 wfjm
LDLIBS     = -L${RETROBASE}/tools/lib -lrtools -lrtcltools -lrlink
21
#
22
# Object files to be included
23
#
24
OBJ_all    = Rlinktpp_Init.o RtclRlinkConnect.o
25
#
26
DEP_all    = $(OBJ_all:.o=.dep)
27
#
28
#- generic part ----------------------------------------------------------------
29
#
30
SOFILE     = lib$(SONAME).so
31
SOFILEV    = lib$(SONAME).so.$(SOMAJV)
32
SOFILEVV   = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
33
#
34
include $(RETROBASE)/tools/make/generic_cpp.mk
35
include $(RETROBASE)/tools/make/generic_dep.mk
36
include $(RETROBASE)/tools/make/generic_so.mk
37
#
38
# The magic autodependcy include
39
#
40
include $(DEP_all)
41
#
42
# cleanup phonies:
43
#
44 12 wfjm
.PHONY    : clean cleandep distclean
45 10 wfjm
clean     :
46
        @ rm -f $(OBJ_all)
47
        @ echo "Object files removed"
48
#
49
cleandep  :
50
        @ rm -f $(DEP_all)
51
        @ echo "Dependency files removed"
52
#
53 12 wfjm
distclean : clean cleandep
54 10 wfjm
        @ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
55
        @ echo "Libraries removed"
56
#

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.