diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/hlmv/makefile | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/hlmv/makefile')
| -rw-r--r-- | utils/hlmv/makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/utils/hlmv/makefile b/utils/hlmv/makefile new file mode 100644 index 0000000..fa1e4ff --- /dev/null +++ b/utils/hlmv/makefile @@ -0,0 +1,59 @@ +# simple Makefile for Half-Life Model Viewer + +CC = g++ +CFLAGS = -O2 +IFLAGS = +LFLAGS = -s +LIBS = -lmxtk-qt -lqt -lqgl -lGL -lGLU -lXaw + +HLMV = ../bin/hlmv +OBJS = \ + ControlPanel.o \ + FileAssociation.o \ + GlWindow.o \ + ViewerSettings.o \ + mathlib.o \ + mdlviewer.o \ + pakviewer.o \ + studio_render.o \ + studio_utils.o \ + +all: $(HLMV) + +$(HLMV): $(OBJS) + $(CC) $(LFLAGS) -o $(HLMV) $(OBJS) $(LIBS) + +ControlPanel.o: ControlPanel.cpp ControlPanel.h ViewerSettings.h StudioModel.h GlWindow.h + $(CC) -c $(CFLAGS) $(IFLAGS) ControlPanel.cpp + +FileAssociation.o: FileAssociation.cpp FileAssociation.h + $(CC) -c $(CFLAGS) $(IFLAGS) FileAssociation.cpp + +GlWindow.o: GlWindow.cpp GlWindow.h StudioModel.h ViewerSettings.h + $(CC) -c $(CFLAGS) $(IFLAGS) GlWindow.cpp + +ViewerSettings.o: ViewerSettings.cpp ViewerSettings.h + $(CC) -c $(CFLAGS) $(IFLAGS) ViewerSettings.cpp + +mathlib.o: mathlib.c mathlib.h + $(CC) -c $(CFLAGS) $(IFLAGS) mathlib.c + +mdlviewer.o: mdlviewer.cpp mdlviewer.h GlWindow.h ControlPanel.h StudioModel.h pakviewer.h FileAssociation.h + $(CC) -c $(CFLAGS) $(IFLAGS) mdlviewer.cpp + +pakviewer.o: pakviewer.cpp pakviewer.h mdlviewer.h GlWindow.h ControlPanel.h StudioModel.h FileAssociation.h + $(CC) -c $(CFLAGS) $(IFLAGS) pakviewer.cpp + + +studio_render.o: studio_render.cpp StudioModel.h ViewerSettings.h + $(CC) -c $(CFLAGS) $(IFLAGS) studio_render.cpp + +studio_utils.o: studio_utils.cpp StudioModel.h + $(CC) -c $(CFLAGS) $(IFLAGS) studio_utils.cpp + + + +# clean + +clean: + rm *.o |