aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-02-03 17:54:02 +0100
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-02-03 17:54:02 +0100
commitfc4f1875fe57c39bf122cfb43a30893fef58c157 (patch)
tree7a84c5bcacec39b2bb7d6c8250a23da780009ef6 /Makefile
parent18a47f8b4bf99366beea3b9486566ebe26f7de5d (diff)
reapeat now built using the GNU Autotools
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 1f59519..0000000
--- a/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PREFIX = /usr/local
-
-CFLAGS = -std=c99 -Wall -Wextra -pedantic -O0 -ggdb
-
-BIN = rpt
-SRC = rpt.c
-OBJ = rpt.o
-
-MAN_SRC = rpt.1
-MAN_PAGE = rpt.1.gz
-
-.PHONY: all compile man clean install uninstall
-
-all: compile man
-
-compile: $(BIN)
-
-$(BIN): $(OBJ)
- cc $^ -o $@
-
-%.o: %.c
- cc $(CFLAGS) -c $< -o $@
-
-man: $(MAN_PAGE)
-
-%.1.gz: %.1
- gzip -9 -c $< > $@
-
-clean:
- rm -f $(BIN) $(OBJ) $(MAN_PAGE)
-
-install: compile man
- cp -f $(BIN) $(PREFIX)/bin
- cp -f $(MAN_PAGE) $(PREFIX)/share/man/man1
-
-uninstall:
- rm -f $(PREFIX)/bin/$(BIN) $(PREFIX)/share/man/man1/$(MAN_PAGE)