diff options
| author | Ian C <ianc@noddybox.co.uk> | 2017-01-09 13:52:27 +0000 | 
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2017-01-09 13:52:27 +0000 | 
| commit | 3196c12dd83bcf88b3448264dc4afff87054541e (patch) | |
| tree | 1a68c2aef5532369eaf841fffc6eeedb6c8bc838 | |
| parent | 0ea8e23456b44365d30ad8a80357c3a2711fee11 (diff) | |
Added README, additional instructions and removed (pointless) dependency file
from make.
| -rw-r--r-- | Makefile | 13 | ||||
| -rw-r--r-- | README | 17 | ||||
| -rw-r--r-- | xd.c | 4 | 
3 files changed, 21 insertions, 13 deletions
@@ -33,24 +33,15 @@ LIBS	=	-lX11 -lm  FLAGS	=	-g -I/usr/X11R6/include -L/usr/X11R6/lib -DEPEND	=	depend.mak -  $(TARGET): $(OBJECTS)  	$(CC) $(FLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)  %.o: %.c  	$(CC) $(CFLAGS) $(CPPFLAGS) $(FLAGS) $(TRACE) -c $< -o $@ --include depend.mak +xd.o: xd.c  clean: -	-rm $(TARGET) $(TARGET).exe core *.stackdump *.o depend.mak - -depend: $(DEPEND) -	@echo Dependencies updated.... - -$(DEPEND): $(SOURCES) $(HEADERS) -	$(CC) $(FLAGS) -MM $(SOURCES) > $(DEPEND) - +	-rm -f $(TARGET) $(TARGET).exe core *.stackdump *.o  # END OF FILE @@ -0,0 +1,17 @@ +BUILDING +-------- +To build just run 'make'.  To run, just type 'xd'. + + +DESCRIPTION +----------- + +xd is a basic framework to make it easy to write the odd "I'm bored for 10 +minutes" graphical hacks. + +GENERAL KEYS +------------ + +Press 'Page up' and 'Page down' to cycle through the demos.  The window title +will contain the name of the current demo, sometimes along with additional +instructions. @@ -212,7 +212,7 @@ static DemoInfo		demotbl[NO_DEMOS]=  				UsesPixmap  			    },  			    { -				"Test3DDemo", +				"Test3DDemo (LMB to change mode, RMB to change culling)",  				Test3DDemo,  				UsesPixmap  			    }, @@ -237,7 +237,7 @@ static DemoInfo		demotbl[NO_DEMOS]=  				UsesPixmap  			    },  			    { -				"Crater Landscape", +				"Crater Landscape (LMB to enter view mode, RMB to change draw mode)",  				CraterDemo,  				UsesPixmap  			    },  | 
