Makefile: Add clean and distclean
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
57e4c8d80a
commit
ec88d7ac8e
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -20,7 +20,7 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
.PHONY: all install
|
||||
.PHONY: all clean distclean install uninstall
|
||||
|
||||
include Makefile.configure
|
||||
|
||||
|
|
@ -90,6 +90,12 @@ install: all
|
|||
$(INSTALL_DATA) serverrc $(DESTDIR)/etc/sj3
|
||||
./sj3mkdic dict/visual.eucjp $(DESTDIR)$(SHAREDIR)/sj3/dict/sj3main.dic > /dev/null
|
||||
|
||||
clean:
|
||||
rm -f $(PUBLIC_LIBS) $(PRIVATE_LIBS) $(ALL_OBJS) compats.o
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile.configure config.h config.log
|
||||
|
||||
libsj3lib.a: $(SJ3LIB_OBJS) compats.o
|
||||
$(AR) crs $@ $(SJ3LIB_OBJS) compats.o
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue