2017-10-07 23:21:00 +02:00
|
|
|
OBJ:=main.o
|
|
|
|
OUTPUT:= preparse
|
|
|
|
|
|
|
|
.PHONY: test debug clean
|
|
|
|
|
2017-10-08 02:28:13 +02:00
|
|
|
all test: debug
|
2017-10-07 23:21:00 +02:00
|
|
|
./$(OUTPUT) test.tex
|
|
|
|
|
2017-10-08 03:24:20 +02:00
|
|
|
debug: CXXFLAGS:= -g -std=c++11 -O0
|
2017-10-07 23:21:00 +02:00
|
|
|
debug: $(OUTPUT)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(OBJ) $(OUTPUT)
|
|
|
|
|
|
|
|
$(OUTPUT): $(OBJ)
|
2017-10-08 02:28:13 +02:00
|
|
|
$(CXX) $(OBJ) -o preparse
|
2017-10-07 23:21:00 +02:00
|
|
|
|