ref: 3b1761c649260aae4b84683c5abfae2351d09ac7
dir: /Makefile/
LIB = lib/libTinyGL.a LIBDIR= /usr/local/lib/ INCDIR= /usr/local/lib/ all: $(LIB) RDMOS @echo Done! $(LIB): cd src && $(MAKE) && cd .. cp src/*.a ./lib/ install: $(LIB) cp $(LIB) $(LIBDIR) mkdir $(INCDIR)/tinygl cp include/* $(INCDIR)/tinygl SDL_Examples: $(LIB) @echo "These demos require SDL 1.2 to compile." cd SDL_Examples && $(MAKE) && cd .. RDMOS: $(LIB) @echo "Building the RAW DEMOS. These do not require anything special on your system, so they should succeed." cd Raw_Demos && $(MAKE) && cd .. clean: cd src && $(MAKE) clean && cd .. cd SDL_Examples && $(MAKE) clean && cd .. cd Raw_Demos && $(MAKE) clean && cd .. cd lib && rm -f *.a && cd .. #clean: # rm -f *~ *.o *.a # cd SDL_Examples && $(MAKE) clean && cd ..