Makefile 517 Bytes
Newer Older
Sam Hocevar's avatar
 
Sam Hocevar committed
1 2 3 4 5
###############################################################################
# vlc (VideoLAN Client) fb module Makefile
# (c)2001 VideoLAN
###############################################################################

Sam Hocevar's avatar
 
Sam Hocevar committed
6 7 8
#
# Objects
#
Sam Hocevar's avatar
 
Sam Hocevar committed
9

Sam Hocevar's avatar
 
Sam Hocevar committed
10 11
PLUGIN_C = fb.o vout_fb.o
BUILTIN_C = $(PLUGIN_C:%.o=BUILTIN_%.o)
Sam Hocevar's avatar
 
Sam Hocevar committed
12

Sam Hocevar's avatar
 
Sam Hocevar committed
13
ALL_OBJ = $(PLUGIN_C) $(BUILTIN_C)
Sam Hocevar's avatar
 
Sam Hocevar committed
14 15 16 17 18

#
# Virtual targets
#

Sam Hocevar's avatar
 
Sam Hocevar committed
19
include ../../Makefile.modules
Sam Hocevar's avatar
 
Sam Hocevar committed
20 21 22 23

#
# Real targets
#
Sam Hocevar's avatar
 
Sam Hocevar committed
24

Sam Hocevar's avatar
 
Sam Hocevar committed
25
../fb.so: $(PLUGIN_C)
Sam Hocevar's avatar
 
Sam Hocevar committed
26
	$(CC) -o $@ $^ $(PLCFLAGS) 
Sam Hocevar's avatar
 
Sam Hocevar committed
27

Sam Hocevar's avatar
 
Sam Hocevar committed
28
../fb.a: $(BUILTIN_C)
Sam Hocevar's avatar
 
Sam Hocevar committed
29
	ar r $@ $^
Sam Hocevar's avatar
 
Sam Hocevar committed
30
	$(RANLIB) $@
Sam Hocevar's avatar
 
Sam Hocevar committed
31