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