diff options
author | Sam Hartman <hartmans@painless-security.com> | 2014-03-06 08:30:39 -0500 |
---|---|---|
committer | Sam Hartman <hartmans@painless-security.com> | 2014-03-06 08:30:39 -0500 |
commit | 856332bf1247ba965b6e3da1fe90cf6a3e3ebbd0 (patch) | |
tree | 30d1d50405e8a89eb1d4fd47fa012ece558cc489 /radius/tests/Makefile | |
parent | 07182442a6e3a194448b13a419c568bcab43d363 (diff) | |
parent | 3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 (diff) |
Merge remote-tracking branch 'origin/master' into debian
In particular update root of tree
Diffstat (limited to 'radius/tests/Makefile')
-rw-r--r-- | radius/tests/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/radius/tests/Makefile b/radius/tests/Makefile new file mode 100644 index 0000000..b9d74ad --- /dev/null +++ b/radius/tests/Makefile @@ -0,0 +1,25 @@ +# +# GNU Makefile +# +.PHONY: all clean +all: radattr + +HEADERS := ../client.h ../radius.h +CFLAGS := -g + +%.o : %.c + $(CC) $(CFLAGS) -I.. -I. -c $< + +%.o: ${HEADERS} + +LIBS := -lcrypto -lssl +LDFLAGS = -L.. -lnetworkradius-client + +../libnetworkradius-client.a: + @${MAKE} -C .. libnetworkradius-client.a + +radattr: radattr.o ../libnetworkradius-client.a + ${CC} ${LFDLAGS} ${LIBS} -o $@ $^ + +clean: + @rm -rf *.o *.a *~ |