# Michael J. Fischer # CPSC 223b, Spring 2008 # Problem set 4: Flex demo CFLAGS = -std=c99 -Wall -pedantic -g -O1 OBJ = demo.o util.o flex.o all: demo demo: $(OBJ) gcc -o $@ $(OBJ) clean: rm -f *.o demo # Dependencies flex.o: flex.c util.h flex.h util.o: util.c util.h demo.o: demo.c util.h flex.h