2000-04-02 01:00:24 +00:00
|
|
|
--- Makefile.orig Tue Oct 22 04:18:27 1996
|
|
|
|
+++ Makefile Fri Mar 31 05:23:20 2000
|
|
|
|
@@ -6,17 +6,18 @@
|
1998-03-15 17:11:24 +00:00
|
|
|
# #
|
|
|
|
################################
|
|
|
|
|
|
|
|
-INCLUDES = -I/usr/X11/include
|
2000-04-02 01:00:24 +00:00
|
|
|
+INCLUDES = -I${X11BASE}/include
|
1998-03-15 17:11:24 +00:00
|
|
|
|
|
|
|
# Remove '-DIPC_OK' if you have problems with 'shared-memory' (IPC routines)
|
|
|
|
OPC = -DIPC_OK
|
|
|
|
|
|
|
|
-LIBRARIES = -lX11 -L/usr/X11/lib
|
2000-04-02 01:00:24 +00:00
|
|
|
+LIBRARIES = -lX11 -L${X11BASE}/lib
|
1998-03-15 17:11:24 +00:00
|
|
|
|
|
|
|
CFILES = xtruco.c bitmap.c cursor.c display.c event.c gc.c pixmap.c\
|
|
|
|
topwind.c window.c color.c button.c font.c read.c
|
|
|
|
|
|
|
|
-CC = gcc -O2 -g -Dlinux -DX11R6 $(INCLUDES) $(OPC)
|
2000-04-02 01:00:24 +00:00
|
|
|
+CC ?= gcc
|
|
|
|
+CFLAGS += -DX11R6 $(INCLUDES) $(OPC)
|
1998-03-15 17:11:24 +00:00
|
|
|
|
|
|
|
PROG=xtruco
|
|
|
|
|
2000-04-02 01:00:24 +00:00
|
|
|
@@ -25,7 +26,7 @@
|
1998-03-15 17:11:24 +00:00
|
|
|
OBJS=$(CFILES:.c=.o)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
- $(CC) -o $(PROG) $(LIBRARIES) $(OBJS)
|
2000-04-02 01:00:24 +00:00
|
|
|
+ $(CC) $(CFLAGS) -o $(PROG) $(LIBRARIES) $(OBJS)
|
1998-03-15 17:11:24 +00:00
|
|
|
# strip ${PROG}
|
|
|
|
|
|
|
|
clean:
|