usb: mass storage class implementation stub, set_configuration request
[quarnos.git] / actors / Makefile
blobc4827c17227afd81146ad010a52462b7846cd2d4
1 # Quarn OS
3 # Makefile for actors
5 # Copyright (C) 2008-2009 Pawel Dziepak
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 MANES = actor.o \
23 director.o \
24 roundrobin.o
26 ACTOR =
28 OBJS = $(MANES) $(ACTOR)
30 actors: dep.d compile
32 dep.d:
33 @echo -e "\t\t[dep]\tactors"
34 @$(CPP) $(CPPFLAGS) -M *.cpp > dep.d
36 compile: $(OBJS)
38 .c.o:
39 @echo -e "\t\t[$(CC)]\tactors/$*.c"
40 @$(CC) $(CFLAGS) -c $*.c -o $*.o
42 .cpp.o:
43 @echo -e "\t\t[$(CPP)]\tactors/$*.cpp"
44 @$(CPP) $(CPPFLAGS) -c $*.cpp -o $*.o
46 clean:
47 @echo -e "\t\t[rm]\tactors"
48 @rm -f dep.d
49 @rm -f *.o *.ko
51 ifeq ($(MAKECMDGOALS),)
52 -include dep.d
53 endif