commit d61eca6f16a7381963113c3e179b87248198aa30 parent 73d5a61e3648268c12ed04a39f99bdfd75b2d9ef Author: Michael Savage <mikejsavage@gmail.com> Date: Mon Aug 10 22:09:38 +0200 Use OBJS for medfall executable Diffstat:
Makefile | | | 4 | ++-- |
diff --git a/Makefile b/Makefile @@ -25,7 +25,7 @@ endif picky: WARNINGS += -Wunused-parameter -Wunused-function -Wwrite-strings picky: all -medfall: main.o gl.o +medfall: $(OBJS) $(CXX) $^ $(LDFLAGS) -o $@ hm.so: $(HMOBJS) @@ -38,7 +38,7 @@ pp: $(PPOBJS) $(CXX) $^ $(LDFLAGS) -o $@ clean: - rm -f medfall bsp.so hm.so $(BSPOBJS) $(HMOBJS) $(PPOBJS) + rm -f medfall bsp.so hm.so $(OBJS) $(BSPOBJS) $(HMOBJS) $(PPOBJS) stb_image.o: stb_image.cc $(CXX) $(CXXFLAGS) -c -o $@ $^ -DSTB_IMAGE_IMPLEMENTATION