Commit c2353b30 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

make: Add *.i target

Convenient for debug purpose.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 16c58dbd
...@@ -109,6 +109,10 @@ $(RHEAD-BLOB-GEN): $(RHEAD-BIN) $(RDEPS-BLOB) ...@@ -109,6 +109,10 @@ $(RHEAD-BLOB-GEN): $(RHEAD-BIN) $(RDEPS-BLOB)
$(E) " CC " $@ $(E) " CC " $@
$(Q) $(CC) -c $(CFLAGS) $< -o $@ $(Q) $(CC) -c $(CFLAGS) $< -o $@
%.i: %.c
$(E) " CC " $@
$(Q) $(CC) -E $(CFLAGS) $< -o $@
$(PROGRAM): $(OBJS) $(PROGRAM): $(OBJS)
$(E) " LINK " $@ $(E) " LINK " $@
$(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@ $(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@
...@@ -140,6 +144,7 @@ clean: ...@@ -140,6 +144,7 @@ clean:
$(E) " CLEAN" $(E) " CLEAN"
$(Q) $(RM) -f ./*.o $(Q) $(RM) -f ./*.o
$(Q) $(RM) -f ./*.d $(Q) $(RM) -f ./*.d
$(Q) $(RM) -f ./*.i
$(Q) $(RM) -f ./*.img $(Q) $(RM) -f ./*.img
$(Q) $(RM) -f ./*.out $(Q) $(RM) -f ./*.out
$(Q) $(RM) -f ./*.bin $(Q) $(RM) -f ./*.bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment