blob: 0c32c4be6287c1da9ffcf82c126f414afa83a343 (
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
|
CC= %%CC%%
RM= %%RM%%
CFLAGS= %%CFLAGS%% -I. -I%%X11BASE%%/include -I%%PREFIX%%/include
LDFLAGS= -L%%X11BASE%%/lib -L%%PREFIX%%/lib -lagl -lGL -lGLU
ALLEGRO_CFLAGS!=allegro-config --cflags
ALLEGRO_LFLAGS!=allegro-config --libs
CFLAGS+= ${ALLEGRO_CFLAGS}
LDFLAGS+= ${ALLEGRO_LFLAGS}
TARGETS= dialog dumbtest exalleg exalpfnt excamera exext exgui exmasked \
extext extextur test tex
all: ${TARGETS}
dialog: dialog.o
${CC} $> -o $@ ${LDFLAGS}
dumbtest: dumbtest.o
${CC} $> -o $@ ${LDFLAGS}
exalleg: exalleg.o
${CC} $> -o $@ ${LDFLAGS}
exalpfnt: exalpfnt.o
${CC} $> -o $@ ${LDFLAGS}
excamera: excamera.o
${CC} $> -o $@ ${LDFLAGS}
exext: exext.o
${CC} $> -o $@ ${LDFLAGS}
exgui: exgui.o
${CC} $> -o $@ ${LDFLAGS}
exmasked: exmasked.o
${CC} $> -o $@ ${LDFLAGS}
exmipmaps: exmipmaps.o
${CC} $> -o $@ ${LDFLAGS}
extext: extext.o
${CC} $> -o $@ ${LDFLAGS}
extextur: extextur.o
${CC} $> -o $@ ${LDFLAGS}
test: test.o
${CC} $> -o $@ ${LDFLAGS}
tex: tex.o
${CC} $> -o $@ ${LDFLAGS}
.c.o:
${CC} -c ${CFLAGS} $*.c
clean:
${RM} -f *.o ${TARGETS}
|