summaryrefslogtreecommitdiff
blob: a8d599d385c70ee873095fcd78c6abc2f268925f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Makefile
+++ Makefile
@@ -80,7 +80,6 @@
 OBJ_INPUT	=mupen64_input/main.o
 
 OBJ_BLIGHT	=blight_input/plugin.o \
-		blight_input/SDL_ttf.o \
 		blight_input/arial.ttf.o \
 		blight_input/configdialog_sdl.o \
 		blight_input/pad.o
@@ -223,8 +222,6 @@
 blight_input/plugin.o:		blight_input/plugin.c
 				$(CC) $(CFLAGS) "-DPACKAGE=\"$(shell grep PACKAGE blight_input/package | cut -d "=" -f 2)\"" "-DVERSION=\"$(shell grep VERSION blight_input/package | cut -d "=" -f 2)\"" `sdl-config --cflags` -DGUI_SDL -c -o $@ $<
 
-blight_input/SDL_ttf.o:		blight_input/SDL_ttf.c
-				$(CC) $(CFLAGS) `freetype-config --cflags` `sdl-config --cflags` -c -o $@ $<
 
 blight_input/arial.ttf.o:	blight_input/arial.ttf.c
 
@@ -367,7 +364,7 @@
 			  strip --strip-all $@
 
 plugins/blight_input.so: $(OBJ_BLIGHT)
-			 $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` `freetype-config --libs` -o $@
+			 $(CC) $^ -Wl,-Bsymbolic -shared `sdl-config --libs` -lSDL_ttf -o $@
 			 strip --strip-all $@
 
 plugins/mupen64_hle_rsp_azimer.so: $(OBJ_RSPHLE)