chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renames and cleanups.
[ypp-sc-tools.db-live.git]
/
pctb
/
Makefile
diff --git
a/pctb/Makefile
b/pctb/Makefile
index a993776b19973812cae6e7ca1d1b444faafb4123..afea4283118d4eb6f7b69942149a06d75d24c218 100644
(file)
--- a/
pctb/Makefile
+++ b/
pctb/Makefile
@@
-1,3
+1,4
@@
+CC= gcc
OPTIMISE= -O2
WERROR= -Werror
WARNINGS= -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
OPTIMISE= -O2
WERROR= -Werror
WARNINGS= -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \
@@
-6,16
+7,16
@@
DEBUG=-g
CFLAGS += $(WARNINGS) $(WERROR) $(OPTIMISE) $(DEBUG)
CFLAGS += $(WARNINGS) $(WERROR) $(OPTIMISE) $(DEBUG)
-TARGETS=
convert x-manip-window
+TARGETS=
ypp-commodities
all: $(TARGETS)
all: $(TARGETS)
-CONVERT_OBJS= convert.o ocr.o pages.o structure.o
common.o
+CONVERT_OBJS= convert.o ocr.o pages.o structure.o
-
convert
: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11
-$(CONVERT_OBJS): ocr.h convert.h structure.h
+
ypp-commodities
: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-x-manip-window: -lXtst -lX11
+$(CONVERT_OBJS): ocr.h convert.h structure.h common.h
clean:
clean:
- rm -f $(TARGETS) *.o core core.*
+ rm -f $(TARGETS) *.o core core.*
*~ t t.* u u.* ./#pages#.ppm