summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 14 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index feb22d9..f1301bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,31 +1,30 @@
SRCS = \
- rgo/src/fndbyte.S \
- rgo/src/fndchr.S \
- rgo/src/memcpy.S \
+ rgo/src/fastimpl.c \
+ rgo/src/fndbyte.c \
+ rgo/src/fndchr.c \
+ rgo/src/memcpy.c \
rgo/src/memdup.c \
- rgo/src/memeq.S \
- rgo/src/memfill.S \
+ rgo/src/memeq.c \
+ rgo/src/memfill.c \
rgo/src/strdup.c \
- rgo/src/streq.S \
+ rgo/src/streq.c \
rgo/src/strfill.c \
- rgo/src/strcpy.S \
- rgo/src/strlen.S
+ rgo/src/strcpy.c \
+ rgo/src/strlen.c
-OBJS := $(SRCS:.S=.o)
-OBJS := $(OBJS:.c=.o)
+OBJS := $(SRCS:.c=.o)
LIB := librgo.a
-ASFLAGS = \
- -Irgo/include \
- -g \
- -march=native
-
CFLAGS = \
-Irgo/include \
+ -Irgo/include-priv \
-O3 \
-g \
-march=native
+# Uncomment to disable assembly algorithms:
+#CFLAGS += -Drgo_priv_noasm
+
.PHONY: clean install purge
$(LIB): $(OBJS)