Files: 7d1b2f8dab921f01fb353d94728ca41743b71b63 / Makefile
328 bytesRaw
1 | SRC = $(wildcard *.c) |
2 | OBJ = $(SRC:c=o) |
3 | BIN = pngspark |
4 | PREFIX ?= /usr/local |
5 | |
6 | CFLAGS = -Wall -Wextra -Werror -O2 -std=c99 -pedantic |
7 | |
8 | all: $(BIN) |
9 | |
10 | pngspark: pngspark.o main.o |
11 | |
12 | install: $(BIN) |
13 | cp -f $(BIN) $(PREFIX)/bin/$(BIN) |
14 | |
15 | uninstall: |
16 | rm $(PREFIX)/bin/$(BIN) |
17 | |
18 | clean: |
19 | rm -f test $(BIN) $(OBJ) |
20 | |
21 | .PHONY: clean install uninstall |
22 |
Built with git-ssb-web