CFLAGS += -g -O3 -I./

all: todsim

clean:
	rm -f todsim

distclean: clean
	rm -f timeofday.c
	rm -f sim-ntp.c
	rm -f linux/timeofday.h
	rm -f linux/clocksource.h
	rm -f asm/timeofday.h

FILES = timeofday.c sim-arch.c sim-ntp.c sim-build.c sim-main.c
todsim: $(FILES) sim.h
		$(CC) $(CFLAGS) $(FILES) -o todsim 

