#Makefile ############################################################## # Makefile for generic network simulation module. # # To compile a new binary, type: make # # To remove all binaries, type: make clean # # To run the program after it has compiled, type: sim # (or use the script - sim.sh - to automate the running...) # ############################################################## CC=gcc sim: main.o event.o $(CC) -o sim main.o event.o -lm main.o: main.c main.h event.o: event.c event.h clean: rm -f *.o sim