4de6d284a3
- Fix some potential null dereference bugs
14 lines
253 B
Makefile
14 lines
253 B
Makefile
# Install
|
|
BIN = zahnrad
|
|
|
|
# Flags
|
|
CFLAGS += -std=c89 -pedantic -O2 -Wunused
|
|
|
|
SRC = main.c
|
|
OBJ = $(SRC:.c=.o)
|
|
|
|
$(BIN):
|
|
@mkdir -p bin
|
|
rm -f bin/$(BIN) $(OBJS)
|
|
$(CC) $(SRC) $(CFLAGS) -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -o bin/$(BIN) -lX11 -lXext -lm
|