blob: cbbbea3fa8b17cc463f447a929ba335121b3fbc2 (
plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
# build applications
CC=gcc
# compiler flags
CFLAGS=-DWIN32 -mno-cygwin -mwindows -O2
# Include & Library directories
INCS=-I../xlock -I../win32 -I..
# sources
SRC= ant.c \
ant3d.c \
apollonian.c \
ball.c \
bat.c \
blot.c \
bouboule.c \
bounce.c \
braid.c \
bug.c \
clock.c \
coral.c \
crystal.c \
daisy.c \
deco.c \
demon.c \
dilemma.c \
discrete.c \
dragon.c \
drift.c \
euler2d.c \
eyes.c \
fadeplot.c \
fiberlamp.c \
flame.c \
flow.c \
forest.c \
galaxy.c \
grav.c \
helix.c \
hop.c \
hyper.c \
ico.c \
image.c \
julia.c \
juggle.c \
kaleid.c \
kumppa.c \
laser.c \
life.c \
life1d.c \
life3d.c \
lightning.c \
lisa.c \
lissie.c \
lyapunov.c \
loop.c \
mandelbrot.c \
matrix.c \
maze.c \
mountain.c \
munch.c \
nose.c \
pacman.c \
petal.c \
petri.c \
polyominoes.c \
pyro.c \
qix.c \
random.c \
roll.c \
rotor.c \
scooter.c \
shape.c \
sierpinski.c \
slip.c \
space.c \
sphere.c \
spiral.c \
spline.c \
star.c \
starfish.c \
swarm.c \
tetris.c \
thornbird.c \
tik_tak.c \
toneclock.c \
triangle.c \
tube.c \
turtle.c \
vines.c \
voters.c \
wator.c \
wire.c \
world.c \
worm.c \
xjack.c
XBMS= bat.xbm \
bounce.xbm \
decay.xbm \
eyes.xbm \
eyes2.xbm \
flag.xbm \
gray1.xbm \
image.xbm \
life.xbm \
life1d.xbm \
life2.xbm \
maze.xbm \
puzzle.xbm
# objects
OBJS= $(SRC:.c=.o)
# general rules
.c.o:
$(CC) $(CFLAGS) -c -o $@ $< $(INCS)
# specific rules
all: $(XBMS) $(OBJS)
bat.xbm:
ln -sf ../bitmaps/l-xlock.xbm bat.xbm
bounce.xbm:
ln -sf ../bitmaps/l-xlock.xbm bounce.xbm
decay.xbm:
ln -sf ../bitmaps/l-xlock.xbm decay.xbm
eyes.xbm:
ln -sf ../bitmaps/m-grelb.xbm eyes.xbm
eyes2.xbm:
ln -sf ../bitmaps/m-grelb-2.xbm eyes2.xbm
flag.xbm:
ln -sf ../bitmaps/l-win.xbm flag.xbm
gray1.xbm:
ln -sf ../bitmaps/gray1.xbm gray1.xbm
image.xbm:
ln -sf ../bitmaps/l-win.xbm image.xbm
life.xbm:
ln -sf ../bitmaps/s-grelb.xbm life.xbm
life1d.xbm:
ln -sf ../bitmaps/t-x11.xbm life1d.xbm
life2.xbm:
ln -sf ../bitmaps/s-grelb-2.xbm life2.xbm
maze.xbm:
ln -sf ../bitmaps/l-win.xbm maze.xbm
puzzle.xbm:
ln -sf ../bitmaps/l-xlock.xbm puzzle.xbm
clean:
rm -f *.o *~ $(XBMS)
|