Files
y_project/ytest_t/yftest/Makefile
T

28 lines
419 B
Makefile

FTEST_SRC=src/ftest/ftest.c
FTEST_O=$(FTEST_SRC:.c=.o)
#TOOLDIR=../../ytools_t
#BARPDIR=../../ybar_progress
TOOLS_SRC=$(TOOLDIR)/src/tools_t/tools_t.c
TOOLS_O=$(TOOLS_SRC:.c=.o)
BARPROGES_SRC=$(BARPDIR)/src/bar_progress/bar_progress.c
BARPROGES_O=$(BARPROGES_SRC:.c=.o)
all: $(FTEST_O)
$(FTEST_O): $(FTEST_SRC) $(TOOLS_O) $(BARPROGES_O)
$(CC) -o $@ -c $< $(CFLAGS)
.PHONY: clean
clean:
rm -f $(FTEST_O)