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

16
BeOS/Makefile Normal file
View file

@ -0,0 +1,16 @@
OBJS=GLView.o
INCLUDES = -I../include
LIB = libGLView.a
all: $(LIB)
$(LIB): $(OBJS)
rm -f $(LIB)
ar rcs $(LIB) $(OBJS)
cp $(LIB) ../lib
clean:
rm -f *~ *.o *.a
GLView.o: GLView.cpp GLView.h
$(CC) $(CFLAGS) $(INCLUDES) -c GLView.cpp