Revision f1158e5c Makefile

View differences:

Makefile
1 1
PEER_SCHED ?= ch_earliest_free_peer
2 2
CHUNK_SCHED ?= dl_sched
3 3

  
4
CFLAGS = -std=c99 -Wall
4
CFLAGS += -std=c99 -Wall
5 5
ifndef DBG
6 6
CFLAGS += -O8
7 7
endif
8 8
CFLAGS += -g -I EventScheduler/ -I Matrix/
9
LDLIBS = -lm 
9
LIBS += EventScheduler/libeventscheduler.a Matrix/libmatrix.a 
10
LDLIBS += -lm  
10 11

  
11 12
CPPFLAGS += -Dpeer_send=peer_send_c_p
12 13
CPPFLAGS += -Dpeer_sched=$(PEER_SCHED)
......
26 27

  
27 28
all: sssim proc-time
28 29

  
29
sssim: $(OBJS) EventScheduler/libeventscheduler.a Matrix/libmatrix.a
30
sssim: $(LIBS) $(OBJS) 
31
	$(CC) -o sssim $(CFLAGS) $(OBJS) $(LIBS) $(LDLIBS)
30 32

  
31 33
EventScheduler/libeventscheduler.a:
32 34
	$(MAKE) -C EventScheduler/

Also available in: Unified diff