real test file, ported stuff to c++ streams
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,17 +1,19 @@
|
||||
OBJ:=main.o
|
||||
OUTPUT:= preparse
|
||||
OBJ:= main.o fs.o
|
||||
OUTPUT:= texdepends
|
||||
|
||||
.PHONY: test debug clean
|
||||
|
||||
all test: debug
|
||||
all: debug
|
||||
test: debug
|
||||
./$(OUTPUT) test.tex
|
||||
|
||||
debug: CXXFLAGS:= -g -std=c++11 -O0
|
||||
debug: CXXFLAGS:= -g -std=c++11
|
||||
debug: $(OUTPUT)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJ) $(OUTPUT)
|
||||
|
||||
$(OUTPUT): $(OBJ)
|
||||
$(CXX) $(OBJ) -o preparse
|
||||
main.o: fs.o
|
||||
|
||||
$(OUTPUT): main.o
|
||||
$(CXX) $(OBJ) -o $(OUTPUT)
|
||||
|
||||
Reference in New Issue
Block a user