diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-09 12:52:49 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-09 12:52:49 +0100 |
commit | bb502fa803605bcfce08da5467e52813eff4d38d (patch) | |
tree | 5fce8fee25ecfbb016d48a7c2cc5450cfdcc6401 /examples | |
parent | 4c650c2b80d1b38759f0e7b6a782ed88d78648d5 (diff) | |
download | libgit2-bb502fa803605bcfce08da5467e52813eff4d38d.tar.gz |
Fix makefile
Diffstat (limited to 'examples')
-rw-r--r-- | examples/network/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
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) |