[build] quieten build of C files
This commit is contained in:
parent
6f936992b8
commit
5d3197b8ab
11
Makefile.in
11
Makefile.in
@ -208,6 +208,14 @@ endif
|
|||||||
sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \
|
sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \
|
||||||
$(RM) $*.$$$$
|
$(RM) $*.$$$$
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
@echo " [CXX] $<"
|
||||||
|
$(V) $(CC) -c $(INCLUDES) $(CFLAGS) -o $@ $<
|
||||||
|
@echo " [DEP] $<"
|
||||||
|
$(V) $(CC) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(TEST_INCLUDES) $(CFLAGS) $< > $*.$$$$; \
|
||||||
|
sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \
|
||||||
|
$(RM) $*.$$$$
|
||||||
|
|
||||||
%.8: %.txt bin/txt2man
|
%.8: %.txt bin/txt2man
|
||||||
@echo " [txt2man] $<"
|
@echo " [txt2man] $<"
|
||||||
$(V) bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
|
$(V) bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
|
||||||
@ -332,7 +340,8 @@ LIBFT_SOURCE=\
|
|||||||
LIBFT_OBJECTS=$(subst .c,.o,$(LIBFT_SOURCE))
|
LIBFT_OBJECTS=$(subst .c,.o,$(LIBFT_SOURCE))
|
||||||
|
|
||||||
lib/libft.so: $(LIBFT_OBJECTS)
|
lib/libft.so: $(LIBFT_OBJECTS)
|
||||||
gcc -shared -o $@ $+ -laio
|
@echo " [LD]" $@
|
||||||
|
$(V) gcc -shared -o $@ $+ -laio
|
||||||
|
|
||||||
.PHONEY: functional-test unit-test
|
.PHONEY: functional-test unit-test
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user