]> Dogcows Code - chaz/openbox/blobdiff - build/Makefile.render
stop using build/ dir configure shits all over itself for other people
[chaz/openbox] / build / Makefile.render
index f575f6faf72f847a46e5e13ca57b0687b07404e2..a16edeef62923d8d298a35b75a9a2efddbdd0add 100644 (file)
@@ -17,10 +17,10 @@ depdir := $(depdir)/$(dir)
 all: $(target)
 
 $(target): $(objects)
-       $(AR) r $@ $^
+       $(LINK) -static -o $@ $^ $(LDFLAGS)
 
 $(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d
-       $(COMPILE) -c -o $@ $<
+       $(LTCOMPILE) -c -o $@ $<
 
 $(depdir)/%.d: $(srcdir)/%.c
        @echo Building dependancies for $<
This page took 0.02351 seconds and 4 git commands to generate.