File: Makefile.HP-UX

package info (click to toggle)
xjig 2.4-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 412 kB
  • ctags: 1,155
  • sloc: cpp: 4,534; makefile: 735; sh: 14; perl: 5
file content (84 lines) | stat: -rw-r--r-- 2,307 bytes parent folder | download | duplicates (7)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

### compiler section
CXX			= CC
CXXFLAGS	   = -O -DUSE_MIT_SHM

### default file to be used, when no options are set

JIG_DEFAULT = \"tina.gif\"

### Directories for include files of X11 and libraries

X_INCLUDE	= /usr/PJ72LINK/X11/include/X11R5

XLIB_DIR		= /usr/PJ72LINK/X11/lib/X11R5

###################################################################

LDFLAGS		= -L/usr/PJ72LINK/SYS/lib -L$(XLIB_DIR)

.SUFFIXES: .C .o

.C.o:
	$(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<

LD	      = $(CXX)

LIBS	      = -lXext -lX11 -lm

OBJS	= xjig.o objects.o stack.o imgbuff.o puzzle.o \
		real.o vec2.o vec2list.o mat2.o \
		color_mapper.o gif_image.o gifx_image.o

PROGRAM       = xjig

all:		$(PROGRAM)

$(PROGRAM): $(OBJS)
		$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)

xjig.o:
	 $(CXX) $(CXXFLAGS) -DPINUP_DEFAULT=$(PINUP_DEFAULT) -DJIG_DEFAULT=$(JIG_DEFAULT) -c xjig.C -o $@
clean:
		-rm -f core *.o $(PROGRAM)


xjig.o: xjig.C
objects.o: objects.C
stack.o: stack.C
imgbuff.o: imgbuff.C
puzzle.o: puzzle.C
real.o: real.C
vec2.o: vec2.C
vec2list.o: vec2list.C
mat2.o: mat2.C
color_mapper.o: color_mapper.C
gif_image.o: gif_image.C
gifx_image.o: gifx_image.C

# -----------------------------------------------------------------------
# dependencies generated by makedepend

# DO NOT DELETE

color_mapper.o: color_mapper.H
gif_image.o: gif_image.H
gifx_image.o: global.h gifx_image.H gif_image.H color_mapper.H reset_image.H
imgbuff.o: global.h imgbuff.H
mat2.o: global.h mat2.h real.h vec2.h
mat2_x.o: global.h vec2.h vec2list.h mat2.h real.h
matrix.o: global.h matrix.h vector.h real.h
matrix_x.o: global.h vec2.h vec3.h real.h matrix.h vector.h
objects.o: global.h objects.H stack.H vec2.h vec2list.h mat2.h real.h
objects.o: gifx_image.H gif_image.H imgbuff.H color_mapper.H puzzle.H
objects.o: rotate.H
puzzle.o: global.h puzzle.H objects.H stack.H vec2.h vec2list.h mat2.h real.h
real.o: global.h real.h
stack.o: global.h stack.H objects.H vec2.h vec2list.h mat2.h real.h
stack.o: gifx_image.H gif_image.H
vec2.o: global.h vec2.h
vec2list.o: global.h vec2list.h mat2.h real.h vec2.h
vec3.o: global.h vec3.h real.h
vector.o: global.h vector.h real.h vec2.h vec3.h
xjig.o: global.h objects.H stack.H vec2.h vec2list.h mat2.h real.h
xjig.o: gifx_image.H gif_image.H color_mapper.H imgbuff.H puzzle.H cursor.h