diff options
Diffstat (limited to 'src/gnu/Makefile')
-rwxr-xr-x | src/gnu/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/gnu/Makefile b/src/gnu/Makefile new file mode 100755 index 0000000..92dac03 --- /dev/null +++ b/src/gnu/Makefile @@ -0,0 +1,48 @@ +# 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. +#INC = +#LIB = -lc + +# WARNING: +# If you want to use a GNU regex library that is not the system +# default, make sure you set both the INC and LIB variables correctly, +# as if a header file and library are used which do not match, you may +# well get segmentation faults (or worse). + +# The following lines work for the rxspencer library, when installed +# under /usr (note the above warning!) +#INC = -I/usr/include/rxspencer +#LIB = -lrxspencer + +# Target name +TRG = rex_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) |