adhocify/Makefile

14 行
268 B
Makefile
Raw 通常表示 履歴

2020-08-07 23:16:44 +02:00
prefix = /usr/local
bindir = $(prefix)/bin
2020-08-19 12:16:38 +02:00
CFLAGS = -std=c99 -Wall -Wextra -pedantic
2020-08-07 23:16:44 +02:00
all:
2020-08-19 12:16:38 +02:00
$(CC) adhocify.c -g $(CFLAGS) -o adhocify
release:
$(CC) adhocify.c $(CFLAGS) -o adhocify
2020-08-07 23:16:44 +02:00
2020-08-19 12:16:38 +02:00
install: release
2020-08-07 23:16:44 +02:00
install -D adhocify $(DESTDIR)$(bindir)/adhocify
.PHONY: install