Add .PHONY targets for building source and binary RPM packages. You can

now just "make rpm" or "make srpm" and it will build them.

llvm-svn: 29717
This commit is contained in:
Reid Spencer 2006-08-16 00:43:50 +00:00
parent 0afdce389c
commit d14c6ca455
1 changed files with 7 additions and 0 deletions

View File

@ -100,3 +100,10 @@ endif
check-llvm2cpp:
$(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
srpm: $(LLVM_OBJ_ROOT)/llvm.spec
rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec
rpm: $(LLVM_OBJ_ROOT)/llvm.spec
rpmbuild -bb --target $(TARGET_TRIPLE) $(LLVM_OBJ_ROOT)/llvm.spec
.PHONY: srpm rpm