blob: 9e276c23be5e7da21004c9b66fc9c5474ee256dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- dvdbackup/Makefile.orig Thu May 4 15:55:26 2006
+++ dvdbackup/Makefile Sat Dec 16 14:05:20 2006
@@ -2,10 +2,8 @@
#
-PREFIX ?= /usr/local
-CC = gcc
-CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
+CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
LDFLAGS += -s
@@ -17,6 +15,7 @@
all: dvdbackup_lxdvdrip
dvdbackup_lxdvdrip: dvdbackup_lxdvdrip.o
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
install: all
$(INSTALL) -d $(PREFIX)/bin
|