# The following are the flags to compile using the GCC compiler CFLAGS = -O3 CC = gcc # INCLUDES = event.h record.h simtime.h # OBJECTS = event.o mm1queue.o random.o record.o mm1queue : $(OBJECTS) $(CC) $(CFLAGS) -o mm1queue $(OBJECTS) -lm mm1queue.o : mm1queue.c $(INCLUDES) $(CC) $(CFLAGS) -c mm1queue.c event.o : event.c $(INCLUDES) $(CC) $(CFLAGS) -c event.c random.o : random.c $(INCLUDES) $(CC) $(CFLAGS) -c random.c record.o : record.c $(INCLUDES) $(CC) $(CFLAGS) -c record.c # # clean : rm -f $(OBJECTS)