diff options
Diffstat (limited to 'payloads/bayou/util/pbuilder/liblar/Makefile')
-rw-r--r-- | payloads/bayou/util/pbuilder/liblar/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/payloads/bayou/util/pbuilder/liblar/Makefile b/payloads/bayou/util/pbuilder/liblar/Makefile index 23f2feb035..27585dc89d 100644 --- a/payloads/bayou/util/pbuilder/liblar/Makefile +++ b/payloads/bayou/util/pbuilder/liblar/Makefile @@ -17,15 +17,16 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -CC = gcc +HOSTCC = gcc +AR?=ar LAROBJS = self.o lib.o CFLAGS = -g -Wall liblar.a: $(LAROBJS) - ar rc $@ $(LAROBJS) + $(AR) rc $@ $(LAROBJS) %.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< + $(HOSTCC) -c $(CFLAGS) -o $@ $< clean: rm -f liblar.a *.o |