summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7cad9bd6e8ead17943eec52a196f84c19b79fc3f (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 -o cppbuild

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