From 10d38faa336b7b4aa9410b19891e3bc215114c1a Mon Sep 17 00:00:00 2001 From: ehouse Date: Mon, 27 Feb 2006 00:08:32 +0000 Subject: [PATCH] add install target --- xwords4/linux/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xwords4/linux/Makefile b/xwords4/linux/Makefile index 4e5e660ff..3fad6bdfd 100644 --- a/xwords4/linux/Makefile +++ b/xwords4/linux/Makefile @@ -132,5 +132,8 @@ $(PLATFORM)/%.o: %.c $(CC) -c $(INCLUDES) $(DEFINES) -DPLATFORM=$(PLATFORM) $(CFLAGS) $< -o $@ clean: - rm -rf $(PLATFORM)/*.o $(TARGET) + rm -rf $(PLATFORM)/*.o $(TARGET) $(DESTDIR)/usr/local/bin/xwords cd ../common && $(MAKE) PLATFORM=$(PLATFORM) $@ + +install: $(TARGET) + cp $< $(DESTDIR)/usr/local/bin