Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SRC = 3ds.cpp
- SRC += animation.cpp
- SRC += animation_keys.cpp
- SRC += bank.cpp
- SRC += bone.cpp
- SRC += brush.cpp
- SRC += camera.cpp
- SRC += collision2.cpp
- SRC += collision.cpp
- SRC += csg.cpp
- SRC += entity.cpp
- SRC += file.cpp
- SRC += functions.cpp
- SRC += geom.cpp
- SRC += global.cpp
- SRC += light.cpp
- SRC += material.cpp
- SRC += maths_helper.cpp
- SRC += matrix.cpp
- SRC += mesh.cpp
- SRC += model.cpp
- SRC += pick.cpp
- SRC += pivot.cpp
- SRC += project.cpp
- SRC += quaternion.cpp
- SRC += shadow.cpp
- SRC += sprite_batch.cpp
- SRC += sprite.cpp
- SRC += stencil.cpp
- SRC += string_helper.cpp
- SRC += surface.cpp
- SRC += terrain.cpp
- SRC += texture.cpp
- SRC += texture_filter.cpp
- SRC += tilt.cpp
- SRC += touch.cpp
- SRC += tree.cpp
- SRC += turn.cpp
- SRC += voxel.cpp
- CSRC = collidetri.c
- CSRC += stb_image.c
- TARGET = libb3d.a
- CFLAGS = -Wall -c -g
- LIBS = -g
- CC = g++
- all: main
- main: $(SRC:=.o)
- ar rcs $(TARGET) $(SRC:%.cpp=%.o) $(CSRC:%.c=%.oc) $(LIBS)
- %.o: %.cpp
- $(CC) $(CFLAGS) -o $@ $<
- %.oc: %.c
- $(CC) $(CFLAGS) -o $@ $<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement