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

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

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

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