diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,16 +1,16 @@ CC = gcc # Either this one -#CFLAGS = -DREGEX_STANDALONE -fPIC -DREG_DEBUG -g +CFLAGS = -Wall -DREGEX_STANDALONE -fPIC -DREG_DEBUG -g # Or this one -CFLAGS = -DREGEX_STANDALONE -fPIC -D_NDEBUG -O3 +#CFLAGS = -Wall -DREGEX_STANDALONE -fPIC -D_NDEBUG -O3 LDFLAGS = -shared -SRCS = regcomp.c regexec.c regerror.c regfree.c regalone.c +SRCS = regcomp.c regexec.c regerror.c regfree.c OBJS = $(SRCS:.c=.o) -BINS = libhsrex.so libhswrex.so +BINS = libhsrex.so libhsurex.so all: make libhsrex.so rm -f $(OBJS) - make "CFLAGS=$(CFLAGS) -DREGEX_WCHAR" libhswrex.so + make "CFLAGS=$(CFLAGS) -DREGEX_UTF8" libhsurex.so $(BINS): $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) clean: |
