aboutsummaryrefslogtreecommitdiff
path: root/nuklear/demo/x11/Makefile
blob: 0570089dedb5c6ac8af6307bb537de327f7a87a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Install
BIN = zahnrad

# Flags
CFLAGS = -std=c89 -pedantic -O2

SRC = main.c
OBJ = $(SRC:.c=.o)

$(BIN):
	@mkdir -p bin
	rm -f bin/$(BIN) $(OBJS)
	$(CC) $(SRC) $(CFLAGS) -D_POSIX_C_SOURCE=200809L -o bin/$(BIN) -lX11 -lm