[go: up one dir, main page]

Menu

[81066e]: / makefile  Maximize  Restore  History

Download this file

20 lines (11 with data), 502 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# makefile for RND64
CC = gcc
CFLAGS = -O3 -Wall -Wextra -Wuninitialized -Wunused -Werror -Wformat=2 -Wunused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs -Wmissing-include-dirs -Wformat-security -std=gnu99 -flto -s
NAME = rnd64
$(NAME): $(NAME).o
$(CC) $(CFLAGS) $(NAME).o -lpthread -O3 -o $(NAME)
install:
sudo cp $(NAME) /usr/local/bin/$(NAME)
@echo "attempted to copy $(NAME) to /usr/local/bin"
clean:
rm -f $(NAME).o