TinyGL-C89/BeOS/Makefile
Aidan Mullen 9a779bf1a1 Add C89 support
Allow compilation from C89 compilers.
2024-07-08 09:27:12 -04:00

16 lines
241 B
Makefile

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