summaryrefslogtreecommitdiff
path: root/src/gnu/Makefile
blob: 8c3991d81d3b48a4ba94ffc3d220e150a2637122 (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
# makefile for rex_gnu library

include ../defaults.mak

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

# These are default values.
INC =
LIB =

# If the default settings don't work for your system,
# try to uncomment and edit the settings below.
# The default settings below work with a libgnu.a in the current directory,
# copied from any libgnu.a built with the regex module.
#INC = -I. -DREX_GNU_INCLUDE='"regex.h"'
#LIB = -L. -lgnu

# Regex library name
REGNAME = gnu

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

OBJ    = lgnu.o ../common.o

include ../common.mak

# static GNU regexp library binding
ar_gnu: $(TRG_AR)

# dynamic GNU regexp library binding
so_gnu: $(TRG_SO)

# Dependencies
lgnu.o: lgnu.c ../common.h ../algo.h
../common.o: ../common.c ../common.h

# (End of Makefile)