Advertisement
Guest User

Untitled

a guest
Dec 27th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. SRC = 3ds.cpp
  2. SRC += animation.cpp
  3. SRC += animation_keys.cpp
  4. SRC += bank.cpp
  5. SRC += bone.cpp
  6. SRC += brush.cpp
  7. SRC += camera.cpp
  8. SRC += collision2.cpp
  9. SRC += collision.cpp
  10. SRC += csg.cpp
  11. SRC += entity.cpp
  12. SRC += file.cpp
  13. SRC += functions.cpp
  14. SRC += geom.cpp
  15. SRC += global.cpp
  16. SRC += light.cpp
  17. SRC += material.cpp
  18. SRC += maths_helper.cpp
  19. SRC += matrix.cpp
  20. SRC += mesh.cpp
  21. SRC += model.cpp
  22. SRC += pick.cpp
  23. SRC += pivot.cpp
  24. SRC += project.cpp
  25. SRC += quaternion.cpp
  26. SRC += shadow.cpp
  27. SRC += sprite_batch.cpp
  28. SRC += sprite.cpp
  29. SRC += stencil.cpp
  30. SRC += string_helper.cpp
  31. SRC += surface.cpp
  32. SRC += terrain.cpp
  33. SRC += texture.cpp
  34. SRC += texture_filter.cpp
  35. SRC += tilt.cpp
  36. SRC += touch.cpp
  37. SRC += tree.cpp
  38. SRC += turn.cpp
  39. SRC += voxel.cpp
  40.  
  41. CSRC = collidetri.c
  42. CSRC += stb_image.c
  43.  
  44. TARGET = libb3d.a
  45.  
  46. CFLAGS = -Wall -c -g
  47. LIBS = -g
  48. CC = g++
  49.  
  50. all: main
  51.  
  52. main: $(SRC:=.o)
  53. ar rcs $(TARGET) $(SRC:%.cpp=%.o) $(CSRC:%.c=%.oc) $(LIBS)
  54.  
  55. %.o: %.cpp
  56. $(CC) $(CFLAGS) -o $@ $<
  57.  
  58. %.oc: %.c
  59. $(CC) $(CFLAGS) -o $@ $<
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement