diff options
author | Marvin Borner | 2021-01-03 22:59:20 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-03 23:05:06 +0100 |
commit | cf385656e7793773e62b496b6229c117c4347ee8 (patch) | |
tree | 580c97e69a5a2e935ef267bc19b42fabcfe1013e /Makefile |
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..e212d1f --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CC = gcc +COBJS = main.o +CFLAGS = -Wall -Wextra -pedantic-errors -Wshadow -Wpointer-arith -Wwrite-strings -Wredundant-decls -Wnested-externs -Ofast -lcurl + +all: $(COBJS) + @$(CC) -o mailvin $< $(CFLAGS) + +run: all + @./mailvin + +%.o: %.c + @$(CC) -c -o $@ $< $(CFLAGS) + +clean: + @rm -f *.o |