summaryrefslogtreecommitdiff
path: root/src/oniguruma/Makefile
blob: bb788fd5cfba7a02fd72b1c6839863c7b6a1eec7 (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
# makefile for rex_onig library

include ../defaults.mak

# === USER SETTINGS ===
# ===========================================================================

# These are default values.
INC =
LIB = -lonig

# If the default settings don't work for your system,
# try to uncomment and edit the settings below.
#INC =
#LIB = -lonig

# Target name
REGNAME = onig

# ===========================================================================
# === END OF USER SETTINGS ===

OBJ    = lonig.o lonig_f.o ../common.o

include ../common.mak

# static Oniguruma regexp library binding
ar_onig: $(TRG_AR)

# dynamic Oniguruma regexp library binding
so_onig: $(TRG_SO)

# Dependencies
lonig.o: lonig.c ../common.h ../algo.h
lonig_f.o: lonig_f.c ../common.h
../common.o: ../common.c ../common.h

# (End of Makefile)