-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (34 loc) · 1.19 KB
/
Makefile
File metadata and controls
52 lines (34 loc) · 1.19 KB
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
CC = clang
CFLAGS = -Wall -O2 -Ifoo2zjs
LDFLAGS = -lcups -lcupsimage
JBIG_SRC = foo2zjs/jbig.c foo2zjs/jbig_ar.c
FILTERS = rastertoxqx rastertozjs rastertohiperc rastertoqpdl \
rastertolava rastertohbpl2 rastertohp rastertooak rastertoslx
TOOLS = arm2hpdl xqxdecode
all: $(FILTERS)
tools: $(TOOLS)
rastertoxqx: rastertoxqx.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertozjs: rastertozjs.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertohiperc: rastertohiperc.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertoqpdl: rastertoqpdl.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertolava: rastertolava.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertohbpl2: rastertohbpl2.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertohp: rastertohp.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertooak: rastertooak.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
rastertoslx: rastertoslx.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
arm2hpdl: foo2zjs/arm2hpdl.c
$(CC) $(CFLAGS) -o $@ $<
xqxdecode: foo2zjs/xqxdecode.c $(JBIG_SRC)
$(CC) $(CFLAGS) -o $@ $^
clean:
rm -f $(FILTERS) $(TOOLS)
.PHONY: all tools clean