This is old C++ code originally intended to be a playground for 3D math.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
345 B

CC=gcc
CPP=g++
#CFLAGS=-ggdb
CXXFLAGS=
MAKE=make
OBJECTS=vertex.o polygon.o polyeder.o
TEMPLATES=../helper/container.h ../helper/container_tpl.h
TEMPLATES+=../math/Mmn.h ../math/Mmn_tpl.h ../math/V_K4.h ../math/V_K4_tpl.h
%.o: %.c++ $(TEMPLATES)
$(CPP) $(CFLAGS) $(CXXFLAGS) -c $*.c++
.PHONY : all clean
all: $(OBJECTS)
clean:
@rm -f *.o