# HG changeset patch # User John Tsiombikas # Date 1423970589 -7200 # Node ID 49fdb15f11009d31a520e126e0d7abb486642ef1 # Parent 8cce82794f90d8a5231e961d0d823995282b647c added makefile rule to download and unpack the obj file diff -r 8cce82794f90 -r 49fdb15f1100 Makefile --- a/Makefile Sun Feb 15 05:14:20 2015 +0200 +++ b/Makefile Sun Feb 15 05:23:09 2015 +0200 @@ -17,9 +17,18 @@ libgl = -lGL -lGLU -lglut -lGLEW endif +.PHONY: all +all: $(bin) lucy.obj + $(bin): $(obj) $(CXX) -o $@ $(obj) $(LDFLAGS) +lucy.obj: lucy.obj.xz + xzcat $< >$@ + +lucy.obj.xz: + wget -c mutantstargoat.com/~nuclear/tmp/lucy.obj.xz + -include $(dep) %.d: %.c