28 lines
801 B
Plaintext
28 lines
801 B
Plaintext
$OpenBSD: patch-Makefile_Linux,v 1.1 2007/10/26 21:19:16 ajacoutot Exp $
|
|
--- Makefile.Linux.orig Wed Jul 17 22:10:55 1996
|
|
+++ Makefile.Linux Fri Oct 26 23:07:06 2007
|
|
@@ -1,11 +1,11 @@
|
|
|
|
### compiler section
|
|
-CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
|
|
-CXXFLAGS = -g -DUSE_MIT_SHM
|
|
+#CXX = gcc -Wall -fstrength-reduce -fpcc-struct-return
|
|
+CXXFLAGS += -Wall -fstrength-reduce -fpcc-struct-return -DUSE_MIT_SHM -I${X_INCLUDE}
|
|
|
|
### default file to be used, when no options are set
|
|
|
|
-JIG_DEFAULT = \"tina.gif\"
|
|
+JIG_DEFAULT = \"${PREFIX}/share/xjig/tina.gif\"
|
|
|
|
### Directories for include files of X11 and libraries
|
|
|
|
@@ -20,7 +20,7 @@ LDFLAGS = -L$(XLIB_DIR)
|
|
.SUFFIXES: .C .o
|
|
|
|
.C.o:
|
|
- $(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<
|
|
+ $(CXX) $(CXXFLAGS) -c $<
|
|
|
|
LD = $(CXX)
|
|
|