Make.proto
changeset 8508 2f9f8e0b39b9
parent 8417 040acbfae716
child 8974 f00c923a5748
--- a/Make.proto	Sun Oct 14 09:27:59 2018 +0200
+++ b/Make.proto	Sun Oct 14 14:20:56 2018 +0200
@@ -73,7 +73,7 @@
 clean::
 	    @-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav
 	    @-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav
-	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
+	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.$(H)
 	    @-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o
 	    @-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o
 	    @-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st
@@ -83,7 +83,7 @@
 # and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts)
 #
 
-XWorkstation.$(O): XWorkstation.st $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H
+XWorkstation.$(O): XWorkstation.st $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.$(H) $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsDevice.$(H)
 	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \
 		CC="$(CC)" OPT="$(OPT)" \
 		CLASSLIB_CC="$(CLASSLIB_CC)" \
@@ -107,7 +107,7 @@
 
 
 
-__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE_TOP)/stx/libview/XWorkstation.H $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H $(INCLUDE)/stc.h
+__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE_TOP)/stx/libview/XWorkstation.$(H) $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.$(H) $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsDevice.$(H) $(INCLUDE)/stc.h
 	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \
 		CC="$(CC)" OPT="$(OPT)" \
 		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
@@ -269,7 +269,7 @@
 	-rm -f *.s *.s2
 
 clean::
-	-rm -f *.o *.H
+	-rm -f *.o *.$(H)
 
 clobber:: clean
 	-rm -f *.so *.dll