Horje
how to make a rule install for makefile Code Example
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




Shell

Related
react native setup ubuntu 20.04 Code Example react native setup ubuntu 20.04 Code Example
CMake macos disable code signing Code Example CMake macos disable code signing Code Example
how to turn on tomcat server mac terminal Code Example how to turn on tomcat server mac terminal Code Example
imagem para pdf linux Code Example imagem para pdf linux Code Example
docker COMPOSE commands Code Example docker COMPOSE commands Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10