ref: a88d9ba695e3a67dc460fbf2b56dd3242931ea40
parent: 94b7bcdc3bcc8815cc7132c7a0348f7a8746d478
author: gek169 <gek169>
date: Tue Jun 1 20:13:54 EDT 2021
Automatic commit.
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
LIB = lib/libTinyGL.a
-all: $(LIB) SDL_Examples
+all: $(LIB) RDMOS
@echo Done!
$(LIB):
@@ -9,8 +9,13 @@
cp src/*.a ./lib/
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 ..
--- a/config.mk
+++ b/config.mk
@@ -1,7 +1,8 @@
#####################################################################
# C compiler
-CC= clang
+#CC= clang
+CC=cc
#CC=gcc
#CC=tcc
#uncomment the following line for compiling the lib using tinyc.