mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
add install target
This commit is contained in:
parent
90412fe9d4
commit
10d38faa33
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue