Blob Blame History Raw
CFLAGS += -std=c99 -I.

login: login.c timingsafe_memcmp.c
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)

.PHONY: clean install

clean:
	rm -f *.o login

install: login
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	cp login $(DESTDIR)$(PREFIX)/bin/login