aboutsummaryrefslogtreecommitdiff
path: root/vendor/optparse-master/Makefile
blob: 392b4ebe96443db7f16d57f6191b580cd366abd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
CFLAGS = -ansi -pedantic -Wall -Wextra -g3

test : test.c optparse.h
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ test.c $(LDLIBS)

run : test
	./test -abdfoo -c bar subcommand example.txt -a

clean :
	rm -f test