Sign in

gwj / po_oopc · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • po_oopc
  • examples08
  • 02-vectortmpl
  • makefile
  • Moved qt tutorial earlier
    13660600
    Grzegorz Jabłoński authored
    2022-09-19 14:43:21 +0200  
    Browse Dir »
makefile 306 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
all: testvector opnew

testvector: testvector.o
	g++ -g -Wall $^ -o $@

testvector.o: testvector.cpp vector.h
	g++ -g -c -Wall -pedantic $< -o $@

opnew: opnew.o
	g++ -g -Wall $^ -o $@

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

.PHONY: clean

clean:
	-rm testvector.o testvector opnew.o opnew