2018-09-23 22:29:09 +03:00
|
|
|
BIN = test
|
2018-03-30 23:10:23 +03:00
|
|
|
|
2018-09-23 22:34:49 +03:00
|
|
|
CFLAGS = -std=c99 -Wall -Wextra -pedantic -Ofast -flto -march=native
|
2018-03-30 23:10:23 +03:00
|
|
|
|
2018-09-23 22:29:09 +03:00
|
|
|
LDFLAGS = -lm
|
2018-03-27 00:11:15 +03:00
|
|
|
|
2018-09-23 22:29:09 +03:00
|
|
|
CC = gcc
|
2018-03-30 23:10:23 +03:00
|
|
|
|
2018-09-23 22:29:09 +03:00
|
|
|
SRC = test.c Tinn.c
|
2018-03-27 00:11:15 +03:00
|
|
|
|
2018-09-23 22:29:09 +03:00
|
|
|
all:
|
2019-02-28 03:45:05 +03:00
|
|
|
$(CC) -o $(BIN) $(SRC) $(CFLAGS) $(LDFLAGS)
|
2018-03-30 23:10:23 +03:00
|
|
|
|
2018-09-23 22:29:09 +03:00
|
|
|
run:
|
|
|
|
./$(BIN)
|
2018-03-27 00:11:15 +03:00
|
|
|
|
|
|
|
clean:
|
2018-09-23 22:29:09 +03:00
|
|
|
rm -f $(BIN)
|