Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to make a rule install for makefile

PREFIX = /usr/local

.PHONY: install
install: mygame
    mkdir -p $(DESTDIR)$(PREFIX)/bin
    cp $< $(DESTDIR)$(PREFIX)/bin/mygame

.PHONY: uninstall
uninstall:
    rm -f $(DESTDIR)$(PREFIX)/bin/mygame
Comment

PREVIOUS NEXT
Code Example
Shell :: not found 91.189.88.142 ubuntu 
Shell :: how to check folxder ezist using bash 
Shell :: openssl crl on apache server 
Shell :: how to edit etc/hosts linux error readonly 
Shell :: linux hide mounted drives from favourites 
Shell :: important linux command 
Shell :: fstab linux mint 
Shell :: usar comandos de linux en mi cmmd 
Shell :: install extra requires 
Shell :: how to enable separate windows on taskbar in ubuntu 
Shell :: find in output windows cmd 
Shell :: mac secure erase free space 
Shell :: ssh local 
Shell :: 8081 already in use 
Shell :: ubuntu for hp 840 g1 
Shell :: remove pob kubernetes 
Shell :: command to push code to github 
Shell :: find syntax in linux 
Shell :: git server setup 
Shell :: git stash only untracked files 
Shell :: new-alias vi notepad 
Shell :: mac finder quick preview for markdown 
Shell :: instal LSB pakage in ubuntu 
Shell :: berew install skype 
Shell :: Jager setup on Docker 
Shell :: enable synatax hightlighting in nano 
Shell :: Scan all issue with nmap 
Shell :: ros2 galactic build from source 
Shell :: restart hamachi fedora 
Shell :: how to take a screenshot of the login or lock screen in ubuntu linux 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =