Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: makefile linux 
Shell :: bash print a blank line 
Shell :: Fetch submodules recursively 
Shell :: merge master into feauture branch 
Shell :: sed delete line match 
Shell :: rm remote git 
Shell :: vi quit 
Shell :: nuget reinstall packages 
Shell :: env file in firebase 
Shell :: sequence of png images to mp4 
Shell :: cutefish desktop enviroment install 
Shell :: git backtrack to commit 
Shell :: how to add code to git 
Shell :: linux find md5 checksum 
Shell :: sed add newline 
Shell :: check scheduler on localhost laravel 
Shell :: push to multiple repos git 
Shell :: create flutter project 
Shell :: delete remote git tags matching pattern 
Shell :: git flow sourcetree command 
Shell :: how to ssh to another computer 
Shell :: rickroll ssh 
Shell :: openssl generate passwort terminal 
Shell :: opensuse package manager command line 
Shell :: falha ao instalar arquivo não há suporte ubuntu 
Shell :: zsh: command not found: GDAL_LIBRARY_PATH 
Shell :: isntall figma on fedroa 
Shell :: gitahead fork 
Shell :: nsis set default install directory with username 
Shell :: how to compare differences between two files in linux 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =