- objs = hist.o
- target = ../plg_hist.o
- CFLAGS = -std=gnu11 -Wall -Wextra -Werror -I../../include -g -I../../libs/readconf/include
- $(target): $(objs)
- @cp $(objs) $(target)
- %.o: %.c
- @$(CC) -c $*.c $(CFLAGS)
- @echo -e "CC\t\t\t$*.c"
- .PHONY clean:
- rm -f $(target) $(objs)
|