diff options
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile index efb55547b..fe99c75cb 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,13 +1,15 @@ .PHONY: all CC = gcc -CFLAGS = -g -I../include +CFLAGS = -g -I../include -I../src LFLAGS = -L../build -lgit2 -lz +APPS = general showindex diff -all: general showindex +all: $(APPS) % : %.c $(CC) -o $@ $(CFLAGS) $< $(LFLAGS) clean: - $(RM) general showindex + $(RM) $(APPS) + $(RM) -r *.dSYM |