aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/lxdvdrip/files/patch-Makefile
blob: 87fb93095eb2dd3bf187372724b5b02f52d1a098 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile.orig   Thu May  4 16:36:46 2006
+++ Makefile    Sat Dec 16 14:00:55 2006
@@ -4,10 +4,10 @@
 HINWEIS2 = 'Comparez le fichier de config. en /etc avec le Changelog'
 
 all:
-   gcc -g -lm -ldvdread -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c cputest.c tcmemcpy.c
-   gcc -g -lm -o lxac3scan lxac3scan.c
-   cd vamps && make && cd ..
-   cd dvdbackup && make && cd ..
+   ${CC} -L${LOCALBASE}/lib -I${LOCALBASE}/include ${CFLAGS} -lm -ldvdread -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c cputest.c tcmemcpy.c
+   ${CC} -L${LOCALBASE}/lib -I${LOCALBASE}/include ${CFLAGS} -lm -o lxac3scan lxac3scan.c
+   cd vamps && make all && cd ..
+   cd dvdbackup && make all && cd ..
 
 clean: 
    rm -f lxdvdrip lxac3scan *.o