diff options
Diffstat (limited to 'server/makefile')
| -rw-r--r-- | server/makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/makefile b/server/makefile new file mode 100644 index 0000000..520636c --- /dev/null +++ b/server/makefile @@ -0,0 +1,12 @@ +CC = clang +CFLAGS = -std=c17 -pedantic -Wall -Werror $(shell pkg-config --libs --cflags wayland-server) + +.PHONY: all clean + +all: server + +clean: + rm -f server + +server: server.c + $(CC) $(CFLAGS) -o $@ $< |
