Klaus Demo bjoern / 02d1599
Make 'make' less verbose. Jonas Haag 9 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3737 CFLAGS='-Os' make
3838
3939 bjoernmodule:
40 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(objects) $(HTTP_PARSER_OBJ) -o $(BUILD_DIR)/bjoern.so
41 PYTHONPATH=$$PYTHONPATH:$(BUILD_DIR) python -c "import bjoern"
40 @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(objects) $(HTTP_PARSER_OBJ) -o $(BUILD_DIR)/bjoern.so
41 @PYTHONPATH=$$PYTHONPATH:$(BUILD_DIR) python -c "import bjoern"
4242
4343 again: clean all
4444
4646 CFLAGS='-D DEBUG' make again
4747
4848 $(BUILD_DIR)/%.o: $(SOURCE_DIR)/%.c
49 $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
49 @echo ' -> ' $(CC) -c $< -o $@
50 @$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
5051
5152 # foo.o: shortcut to $(BUILD_DIR)/foo.o
5253 %.o: $(BUILD_DIR)/%.o