summaryrefslogtreecommitdiffstats
path: root/src/glw/Makefile.X11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-22 23:43:53 +0000
committerBrian Paul <[email protected]>2000-03-22 23:43:53 +0000
commit9dd2747e5f23323d693820121fd123e19e49900c (patch)
treed0c737175e0ae027d3e73716cc12494b58e39273 /src/glw/Makefile.X11
parentca1f44b401bcc6b06017d32905a1a6f133a598db (diff)
minor tweaks
Diffstat (limited to 'src/glw/Makefile.X11')
-rw-r--r--src/glw/Makefile.X1115
1 files changed, 10 insertions, 5 deletions
diff --git a/src/glw/Makefile.X11 b/src/glw/Makefile.X11
index af55a1bf38f..1d81ef6a480 100644
--- a/src/glw/Makefile.X11
+++ b/src/glw/Makefile.X11
@@ -7,12 +7,18 @@
##### MACROS #####
+MAJOR = 1
+MINOR = 0
+TINY = 0
+
VPATH = RCS
INCDIRS = -I../include -I/usr/include/Motif1.2 -I/usr/X11R6/include
LIBDIR = ../lib
-SOURCES = GLwDrawA.c GLwMDrawA.c
+# Compile GLwMDrawA.c only if you have Motif headers!
+#SOURCES = GLwDrawA.c GLwMDrawA.c
+SOURCES = GLwDrawA.c
OBJECTS = $(SOURCES:.c=.o)
@@ -34,16 +40,15 @@ default:
clean:
-rm *.o *~
-# The name of the library file comes from Make-config
-#XXX GLW_LIB = libGLw.a
-
targets: $(LIBDIR)/$(GLW_LIB)
# Make the library
$(LIBDIR)/$(GLW_LIB): $(OBJECTS)
- $(MAKELIB) $(GLW_LIB) $(MAJOR) $(MINOR) $(OBJECTS)
+ $(MAKELIB) $(GLW_LIB) $(MAJOR) $(MINOR) $(TINY) $(OBJECTS)
mv $(GLW_LIB)* $(LIBDIR)
+ -mv *.a $(LIBDIR)
+
include ../Make-config