aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 384a3dd..6a4bdb9 100644
--- a/Makefile
+++ b/Makefile
@@ -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: