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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.74/] [tools/] [src/] [tclshcpp/] [Makefile] - Blame information for rev 38

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 35 wfjm
# $Id: Makefile 733 2016-02-20 12:24:13Z mueller $
2 27 wfjm
#
3
 
4
#
5
#  Revision History:
6
# Date         Rev Version  Comment
7
# 2014-11-07   601   1.0    Initial version
8
#
9
# Compile and Link search paths
10
#
11
include ../checkpath_cpp.mk
12
#
13
INCLFLAGS  = -I${TCLINC}
14 35 wfjm
LDLIBS    += -L${TCLLIB} -l${TCLLIBNAME}
15 27 wfjm
#
16 35 wfjm
BINPATH    = ${RETROBASE}/tools/bin
17 27 wfjm
#
18
# Object files to be included
19
#
20
OBJ_all    = tclshcpp.o
21
#
22
DEP_all    = $(OBJ_all:.o=.dep)
23
#
24
# link target
25
#
26
$(BINPATH)/tclshcpp : $(OBJ_all)
27
        $(CXX) -o $(BINPATH)/tclshcpp $(OBJ_all) $(LDLIBS)
28
 
29
#- generic part ----------------------------------------------------------------
30
#
31 35 wfjm
include ${RETROBASE}/tools/make/generic_cpp.mk
32
include ${RETROBASE}/tools/make/generic_dep.mk
33
include ${RETROBASE}/tools/make/dontincdep.mk
34 27 wfjm
#
35
# The magic auto-dependency include
36
#
37
ifndef DONTINCDEP
38
include $(DEP_all)
39
endif
40
#
41
# cleanup phonies:
42
#
43
.PHONY    : clean cleandep distclean
44
clean     :
45
        @ rm -f $(OBJ_all)
46
        @ echo "Object files removed"
47
#
48
cleandep  :
49
        @ rm -f $(DEP_all)
50
        @ echo "Dependency files removed"
51
#
52
distclean :
53
        @ rm -f $(BINPATH)/tclshcpp
54
        @ echo "Executable files removed"

powered by: WebSVN 2.1.0

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