Fix parsing of opt. multiple options w/o parameter
[ctxopt.git] / examples / Makefile
blob22f1b6fe3acd03bc5c3d171d207ce12cb3f8e321
1 OBJS = hello.o example1.o example2.o ctxopt.o
2 BINS = hello example1 example2
3 OUT = hello
4 CC = c99
5 CFLAGS = -g -O
6 LDFLAGS =
8 all: hello example1 example2
10 hello: hello.c ctxopt.o
11 $(CC) $(CFLAGS) -o hello hello.c ctxopt.o $(LDFLAGS)
13 example1: example1.c ctxopt.o
14 $(CC) $(CFLAGS) -o example1 example1.c ctxopt.o $(LDFLAGS)
16 example2: example2.c ctxopt.o
17 $(CC) $(CFLAGS) -o example2 example2.c ctxopt.o $(LDFLAGS)
19 ctxopt.o: ../ctxopt.c
20 $(CC) $(CFLAGS) -c ../ctxopt.c
22 clean:
23 rm -f $(OBJS) $(BINS)