summaryrefslogtreecommitdiff
path: root/server/makefile
blob: 520636cf8ca0310125db9867c7af7798dbb6a196 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 $@ $<