Revision 9a686bca som/Scheduler/Makefile
som/Scheduler/Makefile | ||
---|---|---|
1 | 1 |
BASE = ../.. |
2 | 2 |
|
3 |
CFLAGS = -Wall |
|
4 |
CFLAGS += -Wdeclaration-after-statement |
|
5 |
CFLAGS += -Wno-switch -Wpointer-arith -Wredundant-decls |
|
6 |
CFLAGS += -Wno-pointer-sign |
|
7 |
CFLAGS += -g |
|
8 |
|
|
9 |
CPPFLAGS = -I$(BASE)/include |
|
10 |
|
|
11 | 3 |
OBJS = sched.o sched_random.o |
12 | 4 |
|
13 | 5 |
all: libsched.a |
14 | 6 |
|
15 |
%.a: $(OBJS) |
|
16 |
ar rcs $@ $^ |
|
17 |
|
|
18 |
clean: |
|
19 |
rm -f *.a |
|
20 |
rm -f *.o |
|
7 |
include ../utils.mak |
Also available in: Unified diff