diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2025-06-17 20:41:36 +0100 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2025-06-17 20:41:36 +0100 |
commit | d07deb178676ca42778524e97f3b9729c83bff99 (patch) | |
tree | 8b52e65f796c925960bc2ef89b550429973168f8 /Makefile |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ad9f39f --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CFLAGS = -std=c23 -Os -ggdb +LIBS = -lm + +SRC = sheets.c expr.c +OBJ = $(SRC:.c=.o) + +all: sheets + +.c.o: + cc -c ${CFLAGS} $< + +sheets: ${OBJ} + cc ${OBJ} -o sheets ${CFLAGS} ${LIBS} + +clean: + rm -rf *.o sheets |