texdepends/Makefile

18 lines
228 B
Makefile

OBJ:=main.o
OUTPUT:= preparse
.PHONY: test debug clean
all test: debug
./$(OUTPUT) test.tex
debug: CXXFLAGS:= -g -std=c++11 -O0
debug: $(OUTPUT)
clean:
$(RM) $(OBJ) $(OUTPUT)
$(OUTPUT): $(OBJ)
$(CXX) $(OBJ) -o preparse