mirror of
https://github.com/glouw/tinn
synced 2024-11-21 22:11:21 +03:00
19 lines
216 B
Makefile
19 lines
216 B
Makefile
BIN = test
|
|
|
|
CFLAGS = -std=c99 -Wall -Wextra -pedantic -Ofast -flto -march=native
|
|
|
|
LDFLAGS = -lm
|
|
|
|
CC = gcc
|
|
|
|
SRC = test.c Tinn.c
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(BIN)
|
|
|
|
run:
|
|
./$(BIN)
|
|
|
|
clean:
|
|
rm -f $(BIN)
|