aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index c7437fe..0000000
--- a/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-CC = gcc
-# Either this one
-CFLAGS = -Wall -DREGEX_STANDALONE -fPIC -DREG_DEBUG -g
-# Or this one
-#CFLAGS = -Wall -DREGEX_STANDALONE -fPIC -D_NDEBUG -O3
-LDFLAGS = -shared
-SRCS = regcomp.c regexec.c regerror.c regfree.c
-OBJS = $(SRCS:.c=.o)
-BINS = libterex.so libteurex.so
-all:
- make libterex.so
- rm -f $(OBJS)
- make "CFLAGS=$(CFLAGS) -DREGEX_UTF8" libteurex.so
-$(BINS): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $(OBJS)
-clean:
- rm -f $(OBJS) $(BINS)