From bb502fa803605bcfce08da5467e52813eff4d38d Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 9 Jun 2012 12:52:49 +0100 Subject: Fix makefile --- examples/network/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/network/Makefile b/examples/network/Makefile index c21869ac..0cffe855 100644 --- a/examples/network/Makefile +++ b/examples/network/Makefile @@ -1,8 +1,9 @@ default: all -CC = gcc +CC = ppc-amigaos-gcc CFLAGS += -g -CFLAGS += -I../../include -L../../ -lgit2 -lpthread +CFLAGS += -I../../include -L../../build +LIBS += -lgit2 -lpthread -lregex OBJECTS = \ git2.o \ @@ -11,4 +12,4 @@ OBJECTS = \ index-pack.o all: $(OBJECTS) - $(CC) $(CFLAGS) -o git2 $(OBJECTS) + $(CC) $(CFLAGS) -o git2 $(OBJECTS) $(LIBS) -- cgit v1.2.1