mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 06:04:44 +00:00
Makefile: Add a target to generate C preprocessor output files
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
This commit is contained in:
parent
552e23ba56
commit
e045299989
6
Makefile
6
Makefile
@ -101,7 +101,7 @@ clean:
|
|||||||
rm -f $(GIT_LIB)
|
rm -f $(GIT_LIB)
|
||||||
rm -f libgit2.pc
|
rm -f libgit2.pc
|
||||||
rm -f *.pdb
|
rm -f *.pdb
|
||||||
rm -f src/*.o src/*/*.o
|
rm -f src/*.[oi] src/*/*.[oi]
|
||||||
rm -rf apidocs
|
rm -rf apidocs
|
||||||
rm -f *~ src/*~ src/*/*~
|
rm -f *~ src/*~ src/*/*~
|
||||||
@$(MAKE) -C tests -s --no-print-directory clean
|
@$(MAKE) -C tests -s --no-print-directory clean
|
||||||
@ -151,6 +151,9 @@ uninstall:
|
|||||||
.S.o:
|
.S.o:
|
||||||
$(CC) $(ALL_CFLAGS) -c $< $(CC_OUT)$@
|
$(CC) $(ALL_CFLAGS) -c $< $(CC_OUT)$@
|
||||||
|
|
||||||
|
%.i: %.c FORCE
|
||||||
|
$(CC) $(ALL_CFLAGS) -E $< >$*.i
|
||||||
|
|
||||||
$(OBJS): $(HDRS)
|
$(OBJS): $(HDRS)
|
||||||
$(GIT_LIB): $(OBJS)
|
$(GIT_LIB): $(OBJS)
|
||||||
rm -f $(GIT_LIB)
|
rm -f $(GIT_LIB)
|
||||||
@ -171,6 +174,7 @@ libgit2.pc: libgit2.pc.in
|
|||||||
.PHONY: install-headers
|
.PHONY: install-headers
|
||||||
.PHONY: install uninstall
|
.PHONY: install uninstall
|
||||||
.PHONY: sparse
|
.PHONY: sparse
|
||||||
|
.PHONY: FORCE
|
||||||
|
|
||||||
### Test suite coverage testing
|
### Test suite coverage testing
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user