summaryrefslogtreecommitdiff
path: root/rgo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rgo/Makefile')
-rw-r--r--rgo/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/rgo/Makefile b/rgo/Makefile
index 02800e0..4118fe4 100644
--- a/rgo/Makefile
+++ b/rgo/Makefile
@@ -1,29 +1,30 @@
-SRCS_ASM = \
+SRCS = \
src/fndbyte.S \
src/fndchr.S \
src/memcpy.S \
+ src/memdup.c \
src/memeq.S \
src/memfill.S \
+ src/strdup.c \
src/streq.S \
+ src/strfill.c \
src/strcpy.S \
src/strlen.S
-SRCS_C = \
- src/memdup.c \
- src/strdup.c \
- src/strfill.c
-OBJS_ASM := $(SRCS_ASM:.S=.o)
-OBJS_C := $(SRCS_C:.c=.o)
-OBJS := $(OBJS_ASM) $(OBJS_C)
-LIB := librgo.a
+OBJS := $(SRCS:.S=.o)
+OBJS := $(OBJS:.c=.o)
+LIB := librgo.a
ASFLAGS = \
-Iinclude \
- -g
+ -g \
+ -march=native
CFLAGS = \
-Iinclude \
- -g
+ -O3 \
+ -g \
+ -march=native
.PHONY: clean purge