kuroko/Makefile

15 lines
289 B
Makefile

CFLAGS = -g -O3 -Wall -Wextra -pedantic -Wno-unused-parameter -DDEBUG
OBJS = $(patsubst %.c, %.o, $(sort $(wildcard *.c)))
TARGET = kuroko
all: ${TARGET}
kuroko: ${OBJS}
.PHONY: clean
clean:
@rm -f ${OBJS} ${TARGET}
tags: $(wildcard *.c) $(wildcard *.h)
@ctags --c-kinds=+lx *.c *.h