Sign in

gwj / po_oopc · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • po_oopc
  • examples09
  • 04-algorithm
  • makefile
  • Added example of list with iterator
    702f90c7
    Grzegorz Jabłoński authored
    2022-01-05 11:03:51 +0100  
    Browse File »
makefile 283 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
all: algo1 algo2

algo1: algo1.o
	g++ -g -Wall -pedantic $^ -o $@

algo1.o: algo1.cpp
	g++ -g -c -Wall -pedantic $< -o $@

algo2: algo2.o
	g++ -g -Wall -pedantic $^ -o $@

algo2.o: algo2.cpp
	g++ -g -c -Wall -pedantic $< -o $@


.PHONY: clean

clean:
	-rm algo1.o algo1 algo2.o algo2