mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
18 lines
402 B
Makefile
18 lines
402 B
Makefile
CXX=clang++
|
|
CXXFLAGS=-Weverything -Wall -Wno-c++98-compat
|
|
|
|
.PHONY: clean
|
|
|
|
all: pugixml.o
|
|
$(CXX) $(CXXFLAGS) -o materialx_test -I../../src/external -I../../src/external/jsonhpp materialx-main.cc pugixml.o
|
|
|
|
pugixml.o: ../../src/external/pugixml.cpp
|
|
$(CXX) -o $@ -c $<
|
|
|
|
|
|
t:
|
|
./materialx_test ../../data/materialx/StandardSurface/standard_surface_wood_tiled.mtlx
|
|
|
|
clean:
|
|
rm -rf materialx_test pugixml.o
|