summaryrefslogtreecommitdiff
path: root/Makefile
blob: 83ec0a871afac6026dc906dfc1e88a5dc4040184 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CFLAGS += -O2 -Wall -Wextra -Wpedantic
CPPFLAGS += -MMD -MP
LDFLAGS += -lm -lncurses

TARGET := dartbot

SRC := $(wildcard *.c)
OBJ := $(SRC:.c=.o)
DEP := $(OBJ:.o=.d)

all: $(TARGET)

$(TARGET): $(OBJ)

clean:
	rm -f $(TARGET) $(OBJ) $(DEP)

-include $(DEP)

.PHONY: all clean