~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to extern/eltopo/eltopo3d/Makefile

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# --------------------
 
2
#
 
3
# Makefile for El Topo.
 
4
#
 
5
# Create a file called Makefile.local_defs before running make.  See Makefile.example_defs for suggestions.
 
6
#
 
7
# --------------------
 
8
 
 
9
# This is for GNU make; other versions of make may not run correctly.
 
10
 
 
11
# Local machine settings
 
12
include Makefile.local_defs
 
13
 
 
14
# --------------------
 
15
# El Topo library
 
16
# --------------------
 
17
 
 
18
LIBRARY = libeltopo
 
19
include Makefile.inc
 
20
 
 
21
# how to compile each file
 
22
.SUFFIXES:
 
23
obj/%.o:
 
24
        $(CC) -c $(RELEASE_FLAGS) $(INCLUDE_PATH) -o $@ $<
 
25
obj_debug/%.o:
 
26
        $(CC) -c $(DEBUG_FLAGS) $(INCLUDE_PATH) -o $@ $<
 
27
 
 
28
.PHONY: release
 
29
release: $(LIBRARY)_release.a 
 
30
 
 
31
.PHONY: debug
 
32
debug: $(LIBRARY)_debug.a 
 
33
 
 
34
# cleaning up
 
35
.PHONY: clean
 
36
clean:
 
37
        -rm -f obj/*.o obj/depend $(LIBRARY)_debug.a obj_debug/*.o obj_debug/depend $(LIBRARY)_release.a *core
 
38
 
 
39
# dependencies are automatically generated
 
40
.PHONY: depend
 
41
depend:
 
42
        -mkdir obj
 
43
        -rm -f obj/depend
 
44
        $(foreach srcfile,$(LIB_SRC),$(DEPEND) -MM $(srcfile) -MT $(patsubst %.cpp,obj/%.o,$(notdir $(srcfile))) $(INCLUDE_PATH) >> obj/depend;)
 
45
        -mkdir obj_debug
 
46
        -rm -f obj_debug/depend
 
47
        $(foreach srcfile,$(LIB_SRC),$(DEPEND) -MM $(srcfile) -MT $(patsubst %.cpp,obj_debug/%.o,$(notdir $(srcfile))) $(INCLUDE_PATH) >> obj_debug/depend;)
 
48
 
 
49
-include obj/depend
 
50
-include obj_debug/depend