improve readability of new.c
This commit is contained in:
parent
92500e1432
commit
5b8ce3781c
2 changed files with 240 additions and 126 deletions
18
Makefile
Normal file
18
Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
CC ?= cc
|
||||
CFLAGS ?= -std=c11 -O2 -pthread \
|
||||
-Wall -Wextra -Wpedantic -Wshadow -Wformat=2 \
|
||||
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wpointer-arith -Wwrite-strings
|
||||
LDFLAGS ?= -pthread
|
||||
|
||||
TARGET := pixelflut-render
|
||||
SRC := new.c
|
||||
|
||||
$(TARGET): $(SRC)
|
||||
$(CC) $(CFLAGS) -o $@ $(SRC) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue