blob: 8cc6bf7fe3ff4a5e8512d75f9c2154f0b9b4588e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
cxxflags =
rule cxx
command = g++ $cxxflags -c -o $out $in
rule ld
command = g++ $cxxflags $in -o $out
build build/context.o: cxx context.cpp | context.hpp
build build/context: ld main.cpp build/context.o
default build/context
|