diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2019-02-05 14:29:25 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2019-02-05 14:29:25 +0100 |
commit | 363d8ea45c53591bda14c6bd9fa8ddfcd47eb487 (patch) | |
tree | 1cc63f1e07fb28e07f264a20bcf817701556bcc7 /Makefile |
Initial
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3652a5d --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CC = gcc +CFLAGS = -Wall -Wextra -std=c11 -O3 -fwrapv -flto +LDFLAGS = +TARGET = ttt3d + +.PHONY: all clean + +all: $(TARGET) + +clean: + rm -f $(TARGET) + + +$(TARGET): $(wildcard *.c *.h) + $(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LDFLAGS) |