Add C89 support

Allow compilation from C89 compilers.
This commit is contained in:
Aidan Mullen 2024-07-08 09:27:12 -04:00
parent fb4cb83981
commit 9a779bf1a1
66 changed files with 12202 additions and 0 deletions

17
Makefile Normal file
View file

@ -0,0 +1,17 @@
include config.mk
CFLAGS = -std=c89 -pedantic
all:
( for f in $(DIRS); do ( cd $$f ; make all ) || exit 1 ; done )
clean:
rm -f *~ lib/libTinyGL.a include/GL/*~ TAGS
( for f in $(DIRS); do ( cd $$f ; make clean ; ) done )
install:
( for f in $(DIRS); do ( cd $$f ; make install ; ) done )
tar:
( cd .. ; tar zcvf /tmp/TinyGL-0.4.1.tar.gz TinyGL --exclude .svn --exclude TAGS )