Create project structure

This commit is contained in:
2022-10-12 15:23:00 +01:00
commit 948c3971ee
5 changed files with 709 additions and 0 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
.POSIX:
CFLAGS += -std=c99 -pedantic -Wall -Wextra
CFLAGS += -O2 -flto
SRC = main.c
OBJ = $(SRC:.c=.o)
waffle-mole: Makefile $(OBJ)
$(CC) $(LDFLAGS) $(CFLAGS) $(OBJ) -o $@
clean:
rm -rf $(OBJ) waffle-mole
.PHONY: clean