Assignment-2/Makefile

11 lines
159 B
Makefile
Raw Normal View History

all: scan
scan: main.cpp scanner.cpp
g++ main.cpp scanner.cpp -o scan
scanner.cpp: scanner.l
flex -o scanner.cpp scanner.l
clean:
rm -f scan scanner.cpp