diff options
| author | Aakarsh Kashyap <[email protected]> | 2026-07-07 00:54:14 +0530 |
|---|---|---|
| committer | Aakarsh Kashyap <[email protected]> | 2026-07-07 00:54:14 +0530 |
| commit | 464b56c73354d9add568fa65dd179866a8d238f1 (patch) | |
| tree | d07b771239bdd3a39a52a484ef2e3bbdf4511e1b /Makefile | |
[feat]: toradora prototype complete
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0544e5a --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +## +# toradora +# +# @file +# @version 0.1.0 + +CC = gcc +CFLAGS = -Wall -Wextra -std=c99 +LDLIBS = -l sqlite3 +TARGET = toradora +SRC = toradora.c + +.PHONY: all clean install uninstall + +all: $(TARGET) + +$(TARGET): $(SRC) + $(CC) $(CFLAGS) $(SRC) -o $(TARGET) $(LDLIBS) + +clean: + rm -rf $(TARGET) + +install: $(TARGET) + install -Dm755 $(TARGET) $(HOME)/.local/bin/$(TARGET) + +uninstall: + rm $(HOME)/.toradora.db $(HOME)/.local/bin/$(TARGET) + +# end |
