Team Fortress 2 Source Code as on 22/4/2020
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.

59 lines
1.4 KiB

  1. # simple Makefile for Half-Life Model Viewer
  2. CC = g++
  3. CFLAGS = -O2
  4. IFLAGS =
  5. LFLAGS = -s
  6. LIBS = -lmxtk-qt -lqt -lqgl -lGL -lGLU -lXaw
  7. HLMV = ../bin/hlmv
  8. OBJS = \
  9. ControlPanel.o \
  10. FileAssociation.o \
  11. GlWindow.o \
  12. ViewerSettings.o \
  13. mathlib.o \
  14. mdlviewer.o \
  15. pakviewer.o \
  16. studio_render.o \
  17. studio_utils.o \
  18. all: $(HLMV)
  19. $(HLMV): $(OBJS)
  20. $(CC) $(LFLAGS) -o $(HLMV) $(OBJS) $(LIBS)
  21. ControlPanel.o: ControlPanel.cpp ControlPanel.h ViewerSettings.h StudioModel.h GlWindow.h
  22. $(CC) -c $(CFLAGS) $(IFLAGS) ControlPanel.cpp
  23. FileAssociation.o: FileAssociation.cpp FileAssociation.h
  24. $(CC) -c $(CFLAGS) $(IFLAGS) FileAssociation.cpp
  25. GlWindow.o: GlWindow.cpp GlWindow.h StudioModel.h ViewerSettings.h
  26. $(CC) -c $(CFLAGS) $(IFLAGS) GlWindow.cpp
  27. ViewerSettings.o: ViewerSettings.cpp ViewerSettings.h
  28. $(CC) -c $(CFLAGS) $(IFLAGS) ViewerSettings.cpp
  29. mathlib.o: mathlib.c mathlib.h
  30. $(CC) -c $(CFLAGS) $(IFLAGS) mathlib.c
  31. mdlviewer.o: mdlviewer.cpp mdlviewer.h GlWindow.h ControlPanel.h StudioModel.h pakviewer.h FileAssociation.h
  32. $(CC) -c $(CFLAGS) $(IFLAGS) mdlviewer.cpp
  33. pakviewer.o: pakviewer.cpp pakviewer.h mdlviewer.h GlWindow.h ControlPanel.h StudioModel.h FileAssociation.h
  34. $(CC) -c $(CFLAGS) $(IFLAGS) pakviewer.cpp
  35. studio_render.o: studio_render.cpp StudioModel.h ViewerSettings.h
  36. $(CC) -c $(CFLAGS) $(IFLAGS) studio_render.cpp
  37. studio_utils.o: studio_utils.cpp StudioModel.h
  38. $(CC) -c $(CFLAGS) $(IFLAGS) studio_utils.cpp
  39. # clean
  40. clean:
  41. rm *.o