X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=561ff5d34c98d5d15594e196e062fa26bb64b4a5;hb=4cd370bfc34a695d7ab9023b4c6e16b655bd9c92;hp=4661524a7b4a2ce2c0d361146d0b799e504276af;hpb=8823811bf3bc8d38b4ee10487d5d095427afed45;p=vrlugburz diff --git a/Makefile b/Makefile index 4661524..561ff5d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ src = $(wildcard src/*.c) obj = $(src:.c=.o) +dep = $(src:.c=.d) bin = lugburz #opt = -O3 @@ -13,6 +14,8 @@ LDFLAGS = -lGL -lX11 -lm $(bin): $(obj) $(CC) -o $@ $(obj) $(LDFLAGS) +-include $(dep) + .PHONY: clean clean: rm -f $(obj) $(bin)