blob: 235010862e2a2ac9f4d4302cf4382d241b43fc30 (
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
|
# makefile for rex_tre library
include ../defaults.mak
# === USER SETTINGS ===
# ===========================================================================
# These are default values.
INC =
LIB = -ltre
# If the default settings don't work for your system,
# try to uncomment and edit the settings below.
#INC = -I/usr/include
#LIB = -lc
# WARNING:
# Make sure you set both the INC and LIB variables correctly, as
# otherwise you risk using a header file and library that do not
# match, and you may well get segmentation faults (or worse).
# Target name
REGNAME = tre
# ===========================================================================
# === END OF USER SETTINGS ===
OBJ = ltre.o ltre_w.o ../common.o
MYCFLAGS = -DWIDE_CHAR_GSUB
include ../common.mak
# static TRE regexp library binding
ar_tre: $(TRG_AR)
# dynamic TRE regexp library binding
so_tre: $(TRG_SO)
# Dependencies
ltre.o: ltre.c ../common.h ../algo.h
ltre_w.o: ltre_w.c ../common.h ../algo.h
../common.o: ../common.c ../common.h
# (End of Makefile)
|