diff options
| author | david <[email protected]> | 2026-06-09 07:46:20 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-06-09 07:46:20 -0300 |
| commit | f8007e4725630d5e4fecd2313797e912204c16ef (patch) | |
| tree | c6e604f79cb639ea0b0205d2388400b3aa0e35be /Makefile | |
| download | imagesortc-f8007e4725630d5e4fecd2313797e912204c16ef.tar.gz imagesortc-f8007e4725630d5e4fecd2313797e912204c16ef.zip | |
hi
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3c9d146 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +CC = gcc +CFLAGS = -Wall -Wextra -lSDL2 -lSDL2_image -lSDL2_ttf +TARGET = imagesortc +SRC = imagesortc.c +PREFIX = /usr/local + +$(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) + |
