20 lines
253 B
Makefile
20 lines
253 B
Makefile
OBJ:= main.o fs.o
|
|
OUTPUT:= texdepends
|
|
|
|
.PHONY: test debug clean
|
|
|
|
all: debug
|
|
test: debug
|
|
./$(OUTPUT) test.tex
|
|
|
|
debug: CXXFLAGS:= -g -std=c++11
|
|
debug: $(OUTPUT)
|
|
|
|
clean:
|
|
$(RM) $(OBJ) $(OUTPUT)
|
|
|
|
main.o: fs.o
|
|
|
|
$(OUTPUT): main.o
|
|
$(CXX) $(OBJ) -o $(OUTPUT)
|