gdunlap/sched-sim.hg

view Makefile @ 14:f289f886cbcc

Add sched_credit03
author George Dunlap <george.dunlap@eu.citrix.com>
date Fri Jul 16 11:12:29 2010 +0100 (2010-07-16)
parents 31f36108fc43
children
line source
1 CC = gcc
3 CFLAGS += -g
4 CFLAGS += -fno-strict-aliasing
5 CFLAGS += -std=gnu99
6 CFLAGS += -Wall -Wstrict-prototypes
7 CFLAGS += -Wno-unused-value
8 CFLAGS += -Wdeclaration-after-statement
9 CFLAGS += -Werror
11 BIN = simulator
13 HDRS = list.h workload.h sim.h stats.h options.h
15 all: $(BIN)
17 .PHONY: clean
18 clean:
19 $(RM) *.a *.so *.o $(BIN) $(LIBBIN)
21 %.o: %.c $(HDRS) Makefile
22 $(CC) $(CFLAGS) -c -o $@ $<
24 simulator: simulator.o workloads.o sched_rr.o stats.o options.o sched_credit01.o sched_credit02.o sched_credit03.o
25 $(CC) $(CFLAGS) -o $@ $^