diff options
| -rw-r--r-- | Makefile | 7 | ||||
| -rw-r--r-- | README.md | 10 |
2 files changed, 17 insertions, 0 deletions
@@ -2,9 +2,16 @@ CC = gcc CFLAGS = -Wall -Wextra TARGET = cpetrat SRC = cpetrat.c +PREFIX = / $(TARGET): $(SRC) $(CC) $(CFLAGS) -o $(TARGET) $(SRC) +install: $(TARGET) + install -D $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET) + +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET) + clean: rm -f $(TARGET) diff --git a/README.md b/README.md new file mode 100644 index 0000000..9219782 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# take care of your little rat! + +# installing: +```term +make && make install +``` + +that's pretty much it lol + +it saves its state to ~/.local/share/rat |
