summaryrefslogtreecommitdiff
path: root/multimedia/mpegedit/files/patch-ba
blob: 041f337d9935e77d8278ad1c047784c0aaff6db1 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- ui/Makefile.orig	Mon Jul 24 00:01:36 1995
+++ ui/Makefile	Thu Jun 15 09:04:16 2000
@@ -26,9 +26,10 @@
 #
 
 AR       = ar r
-CPP      = g++
+CPP      = ${CXX}
 RANLIB   = ranlib
 RM       = rm -f
+INCLUDES = -I../globals -I$(X11BASE)/include
 
 #  CPPFLAGS     -Wall     all warnings
 #               -pipe     speeds up compilation (remove only if not using g++)
@@ -48,7 +49,7 @@
 .SUFFIXES:	.C $(SUFFIXES) 
 
 .C.o:
-	$(CPP) $(CPPFLAGS) $(EXTRA) -I../globals -c $< 
+	$(CPP) $(CPPFLAGS) $(INCLUDES) $(EXTRA) -c $< 
 
 all:	$(ALL) 
 
@@ -65,14 +66,14 @@
 
 dep:	FORCE
 	$(RM) $(DEPFILE) 
-	make $(DEPFILE)
+	$(MAKE) $(DEPFILE)
 
 $(DEPFILE):
-	set -e; for i in $(SOURCES) ; do $(CPP) -M $$i  -I../globals >>$(DEPFILE) ; done
-	
+	set -e; for i in $(SOURCES) ; do $(CPP) $(INCLUDES) -M $$i >>$(DEPFILE) ; done
+
 #
 # include a dependency file if one exists
 #
 #ifeq ($(DEPFILE),$(wildcard $(DEPFILE)))
-include $(DEPFILE)
+#include $(DEPFILE)
 #endif