18 lines
206 B
Makefile
18 lines
206 B
Makefile
|
OBJ:=main.o
|
||
|
OUTPUT:= preparse
|
||
|
|
||
|
.PHONY: test debug clean
|
||
|
|
||
|
test: debug
|
||
|
./$(OUTPUT) test.tex
|
||
|
|
||
|
debug: CFLAGS:= -g
|
||
|
debug: $(OUTPUT)
|
||
|
|
||
|
clean:
|
||
|
$(RM) $(OBJ) $(OUTPUT)
|
||
|
|
||
|
$(OUTPUT): $(OBJ)
|
||
|
$(CC) $(OBJ) -o preparse
|
||
|
|