Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux how to make makefile

# !!! DON'T FORGET TO REPLACE ALL SPACEBAR TO TAB BEFORE EACH "$(CC)" AND BEFORE "rm"

#variable declaration

CCFLAGS = -Wall
CC = gcc

# fordítási szabályok 

example : help.o example.o
	$(CC) help.o example.o -o example   
               
help.o : help.c date.h help.h
	$(CC) help.c -c $(CCFLAGS)

example.o : example.c date.h help.h
	$(CC) example.c -c $(CCFLAGS)

# delete commands  
       
.PHONY : clean 
clean : 
	rm -f example help.o example.o core *~
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install wsl 2 
Shell :: push imagesto docker 
Shell :: sed line 
Shell :: git delete commit from history 
Shell :: clone all github repos 
Shell :: how to install axios in react 
Shell :: manually shut down docker mac 
Shell :: ubuntu default tmux shell 
Shell :: store environment variables firebase 
Shell :: undo git commit after push 
Shell :: git global ingnore 
Shell :: push branch to main github 
Shell :: how to setup path using git bash in windows 
Shell :: deploy docker to heroku 
Shell :: how to clone all git repositories 
Shell :: merge branch to master 
Shell :: ubuntu navigate to directory in windows 
Shell :: git newly created branch not showing 
Shell :: copy file to another directory linux 
Shell :: git get latest log output to file 
Shell :: conda install spyder 4.2.5 
Shell :: ubuntu increase valume 
Shell :: This script makes a backup of my home directory. 
Shell :: install ansible on linux 
Shell :: debian build with ccache 
Shell :: How to install 4k video Downloader YouTube on Ubuntu Linux 
Shell :: pip install selenium using cmd 
Shell :: install docker-machine-driver-hyperkit 
Shell :: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package nano 
Shell :: cent os install docker 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =