summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 60db2843ca44d91d39ea6070e67c1302d337cbea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
CFLAGS=-O3 -march=native -pipe

OBJ = main.o stdin.o encode.o decode.o
HEADERS = main.h decode.h

%.o: %.c $(DEPS) $(HEADERS)
	$(CC) -c -o $@ $< $(CFLAGS)

base64: $(OBJ)
	$(CC) -o $@ $^ $(CFLAGS)

clean:
	rm $(OBJ)
	rm base64