Permalink
Browse files

Make the makefile a little more useful in showing errors

  • Loading branch information...
1 parent 80ac662 commit 7976f50110beb79bdc92268ff4744ba18a0294e4 @atrodo committed Feb 9, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile
View
@@ -12,10 +12,12 @@ COMPILED_TESTS = $(patsubst %.t,%.ito,$(TEST_FILES))
INC_PATH=-I./
%.o: %.c $(HEADERS)
- $(CC) -g -c $(INC_PATH) $(CPPFLAGS) $(CFLAGS) -o $@ $<
+ @echo "=> $@"
+ @$(CC) -g -c $(INC_PATH) $(CPPFLAGS) $(CFLAGS) -o $@ $<
lorito: $(COMPILED) $(HEADERS)
- $(CC) -g $(CFLAGS) $(CC_WARN) -o $@ $(COMPILED)
+ @echo "=> $@"
+ @$(CC) -g $(CFLAGS) $(CC_WARN) -o $@ $(COMPILED)
.PHONY: CLEAN
clean:

0 comments on commit 7976f50

Please sign in to comment.