Browse Source

Updated Makefile to use CFLAGS

pull/1/head v1.13
L. Bradley LaBoon 6 years ago
parent
commit
1dad5cda13
  1. 4
      Makefile

4
Makefile

@ -3,14 +3,14 @@ DESTDIR ?=
PREFIX ?= /usr/local
# Build flags
FLAGS = -std=gnu99
OPTS = -std=gnu99
# Build rules
all: backly
.PHONY: all install clean
backly: backly.c Makefile
gcc $(FLAGS) -o backly backly.c
gcc $(OPTS) $(CFLAGS) -o backly backly.c
install: backly
install -Dm 0755 backly $(DESTDIR)/$(PREFIX)/bin/backly

Loading…
Cancel
Save