summaryrefslogtreecommitdiff
path: root/Makefile
blob: d5beb1564a8d9260cc6357228bfef9c0c1c81963 (plain)
1
2
3
4
5
6
7
8
9
10
11
all: libcppbuild.a cppbuild

libcppbuild.a: libcppbuild.cc
	g++ -g -std=c++17  libcppbuild.cc -c -o libcppbuild.o
	ar rcs libcppbuild.a libcppbuild.o

cppbuild: cppbuild.cc libcppbuild.a
	g++ -g -std=c++17 cppbuild.cc libcppbuild.a -pthread -o cppbuild

clean:
	rm -f cppbuild libcppbuild.o libcppbuild.a