diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -1,18 +1,18 @@ -NAME = passgen
-PREFIX = $(HOME)/.local
-
-CC = gcc
-CFLAGS += -std=c99 -Wall -Wextra -Wshadow -Werror -pedantic
-
-default: $(NAME)
-
-$(NAME): $(NAME).c config.h
- $(CC) $(CFLAGS) -o $(NAME) $(NAME).c
-
-install: $(NAME)
- install -d $(DESTDIR)$(PREFIX)/bin/
- install -m 755 $(NAME) $(DESTDIR)$(PREFIX)/bin/
-
-clean:
- rm -f *.o
- rm -f $(NAME)
+NAME = passgen +PREFIX = $(HOME)/.local + +CC = gcc +CFLAGS += -std=c99 -Wall -Wextra -Wshadow -Werror -pedantic + +default: $(NAME) + +$(NAME): $(NAME).c config.h + $(CC) $(CFLAGS) -o $(NAME) $(NAME).c + +install: $(NAME) + install -d $(DESTDIR)$(PREFIX)/bin/ + install -m 755 $(NAME) $(DESTDIR)$(PREFIX)/bin/ + +clean: + rm -f *.o + rm -f $(NAME) |