erebus

diff Makefile @ 7:f067148b3494

always recursively make liberebus to correctly build erebus when the lib is out of date
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 24 May 2014 02:27:08 +0300
parents 93894c232d65
children fb20e3855740
line diff
     1.1 --- a/Makefile	Sat May 24 02:22:14 2014 +0300
     1.2 +++ b/Makefile	Sat May 24 02:27:08 2014 +0300
     1.3 @@ -11,9 +11,13 @@
     1.4  libgl_mac = -framework OpenGL -framework GLUT -lGLEW
     1.5  libgl_win = -lopengl32 -lglu32 -lglut32 -lglew32
     1.6  
     1.7 -$(bin): $(obj) liberebus/liberebus.so
     1.8 +$(bin): $(obj) liberebus
     1.9  	$(CXX) -o $@ $(obj) $(LDFLAGS)
    1.10  
    1.11 +.PHONY: liberebus
    1.12 +liberebus:
    1.13 +	$(MAKE) -C liberebus
    1.14 +
    1.15  .PHONY: clean
    1.16  clean:
    1.17  	rm -f $(obj) $(bin)