b64/Makefile
Eric 4e8bb86ddd change Makefile to be stricter
-Og enables better detection of bugs that would only occur in optimized
compilations and allows for slightly lesser than -O1 optimization that
does not interfere with debugging.
2025-05-28 17:55:13 +02:00

15 lines
257 B
Makefile

CC = gcc
CFLAGS = -Og -Wall -Wextra -Werror
objects = main.o input.o output.o encode.o
b64 : $(objects)
$(CC) -o b64 $(objects)
main.o input.o : input.h
main.o encode.o : encode.h
main.o output.o : output.h
.PHONY : clean
clean :
rm -f b64 $(objects)