#!/usr/bin/make -f CFLAGS += -std=c99 -Wall -Wextra -Werror all: $(HOME)/bin/autobuild $(HOME)/.ssh/id_rsa $(HOME)/.ssh/id_rsa.pub $(HOME)/.gnupg/secring.gpg $(HOME)/bin/autobuild: $(HOME)/bin/autobuild.c $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ && chmod 6755 $@ $(HOME)/.ssh/id_rsa $(HOME)/.ssh/id_rsa.pub: ssh-keygen -N '' -f $@ $(HOME)/.gnupg/secring.gpg: printf '%s\n' \ 'Key-Type: default' \ 'Subkey-Type: default' \ 'Name-Real: Parabola automatic package builder' \ 'Name-Email: dev@lists.parabolagnulinux.org' \ 'Expire-Date: 0' \ | gpg --gen-key --batch .DELETE_ON_ERROR: