Mercurial > libbase64
view Makefile @ 34:e4a6c3f3d0f2 2.0.0
misc: minor typos and changes
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 07 Jun 2021 21:14:55 +0200 |
parents | 01c29bee0c54 |
children | c25a01b2229b |
line wrap: on
line source
# # Makefile -- basic Makefile for libbase64 # # Copyright (c) 2013-2021 David Demelier <markand@malikania.fr> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # .POSIX: CC= cc CFLAGS= -O3 -DNDEBUG .SUFFIXES: .SUFFIXES: .c .o all: test/base64 .c.o: ${CC} ${CFLAGS} -Iextern/libgreatest -I. -c $< -o $@ ${LDFLAGS} test/base64.o: base64.h test/base64: test/base64.o base64.o ${CC} ${CFLAGS} -o $@ test/base64.o base64.o ${LDFLAGS} tests: test/base64 test/base64 clean: rm -f *.o test/*.o rm -f test/base64 .PHONY: all clean tests