texdepends/Makefile

20 lines
253 B
Makefile
Raw Permalink Normal View History

OBJ:= main.o fs.o
OUTPUT:= texdepends
2017-10-07 23:21:00 +02:00
.PHONY: test debug clean
all: debug
test: debug
2017-10-07 23:21:00 +02:00
./$(OUTPUT) test.tex
debug: CXXFLAGS:= -g -std=c++11
2017-10-07 23:21:00 +02:00
debug: $(OUTPUT)
clean:
$(RM) $(OBJ) $(OUTPUT)
main.o: fs.o
2017-10-07 23:21:00 +02:00
$(OUTPUT): main.o
$(CXX) $(OBJ) -o $(OUTPUT)