1
0
Files

13 lines
235 B
Plaintext

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