blob: 4118fe4562f9128c9bec1ea160dc9fe7072f72c4 (
plain) (
tree)
|
|
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
OBJS := $(SRCS:.S=.o)
OBJS := $(OBJS:.c=.o)
LIB := librgo.a
ASFLAGS = \
-Iinclude \
-g \
-march=native
CFLAGS = \
-Iinclude \
-O3 \
-g \
-march=native
.PHONY: clean purge
$(LIB): $(OBJS)
ar r $@ $^
clean:
rm -fr $(OBJS)
purge:
rm -fr $(LIB) $(OBJS)
|