-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
56 lines (35 loc) · 949 Bytes
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#//////////////////////////////////////////////////////////////////////////////////
#//// GENERIC maya plugin make file
#///////////////////////////////////////////////////
#////////
#/// version 1.0
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#
# Include platform specific build settings
#
include ./buildconfig
.SUFFIXES: .cpp .cc .o .so .c .bundle
OUTPUT = ./
PLUGIN = curveBrushTool.$(EXT)
COMPILE = $(CC) -c $(CFLAGS) $(INCLUDES)
.cpp.o:
$(COMPILE) $< -o $@
plugins: $(PLUGIN)
depend:
makedepend $(INCLUDES) *.cc *.cpp
clean:
-rm -f *.o $(OUTPUT)*.so
##################
# Specific Rules #
##################
SOURCES = brushContextCommand.cpp\
brushContext.cpp\
brushToolCommand.cpp\
pluginMain.cpp
OBJS = $(SOURCES:.cpp=.o)
all: $(SOURCES) $(PLUGIN)
$(PLUGIN): $(OBJS)
-rm -f $(OUTPUT)$@
$(LD) -o $(OUTPUT)$@ $(OBJS) $(LIBS)
install: $(all)
cp --dereference -rv scripts/* /redpawFX/maya/mel/3rdParty/curveBrushTool