summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile67
1 files changed, 0 insertions, 67 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 264dbaa..0000000
--- a/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# TOOLS
-
-# TOOL FLAGS
-
-CFLAGS = \
- -Irgo/include \
- -Irgo/include-priv \
- -O3 \
- -g \
- -march=native \
- -std=c99 \
- -Wall \
- -Wextra \
- -Wpedantic
-
-# Uncomment to enable freestanding mode:
-#CFLAGS += \
- -Drgo_priv_nostdlib \
- -ffreestanding
-
-# Uncomment to disable assembly algorithms:
-#CFLAGS += -Drgo_priv_noasm
-
-# HEADERS
-
-HDRS = \
- rgo/include-priv/rgo-priv.h \
- rgo/include/rgo.h \
-
-# BINARIES
-
-OBJS = \
- rgo/src/fastimpl.o \
- rgo/src/fndbyte.o \
- rgo/src/fndchr.o \
- rgo/src/memcmp.o \
- rgo/src/memcpy.o \
- rgo/src/memdup.o \
- rgo/src/memeq.o \
- rgo/src/memfill.o \
- rgo/src/strcmp.o \
- rgo/src/strdup.o \
- rgo/src/streq.o \
- rgo/src/strfill.o \
- rgo/src/strcpy.o \
- rgo/src/strlen.o
-
-LIB = librgo.a
-
-# TARGETS
-
-.PHONY: clean install purge
-
-$(LIB): $(OBJS)
- ar r $@ $^
-
-install: $(LIB)
- mkdir -pm755 $(HDRDIR)
- mkdir -pm755 $(LIBDIR)
- install -Dm644 rgo/include/rgo.h $(HDRDIR)
- install -Dm755 $(LIB) $(LIBDIR)/$(LIB)
-
-clean:
- rm -fr $(OBJS)
-
-purge: clean
- rm -fr $(LIB)