-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·48 lines (34 loc) · 1.16 KB
/
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
############### Symbol Definitions ######################
INCLUDES = /usr/include
LIBS = /usr/lib
XLIB = $(LIBS)/libX11.a
# CC = /bin/cc -O -O2 -I$(INCLUDES)
CC = /usr/bin/cc -O -O2 -I$(INCLUDES)
all: flo2mtv
################## Dependencies and compile/link #########
# blit
# (Feb 1989) like moire, but an attempt to put image into
# root window. Works but crashes. (Bug in server)
# (Mar 1989) fixed with update 1713
# (April 1989) converted to a parallel algorithm and renamed from
# background to parallel. Links to parablit.o instead of
# bitblit.o
# (March 1990) cast into four general purpose tools
testblit: testblit.c blit.o $(XLIB)
$(CC) -a -o testblit testblit.c blit.o $(XLIB)
blit.o: blit.c
$(CC) -c blit.c
# addblit
# (March 1990) gutted xpic to create this module. It basically
# just opens a window and adds stuff to it.
testadd: testadd.c globals.o addblit.o blit.o $(XLIB)
$(CC) -a -o testadd testadd.c globals.o addblit.o blit.o $(XLIB)
addblit.o: addblit.c
$(CC) -c addblit.c
globals.o: globals.c
$(CC) -c globals.c
flo2mtv.o: flo2mtv.c
$(CC) -c -O2 flo2mtv.c
flo2mtv pfm2ppm: flo2mtv.o
$(CC) flo2mtv.o -o flo2mtv
ln -f flo2mtv pfm2ppm