aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0033ed9..4b951c6 100644
--- a/Makefile
+++ b/Makefile
@@ -2,20 +2,19 @@ PROG = gstopwatch
CC = gcc
LIBS = `pkg-config --cflags --libs gtk+-3.0`
-CFLAGS = -std=c99 -Wall -Wextra -Wno-deprecated-declarations
+CFLAGS = -std=c99 -Wall -Wextra
PREFIX ?= /usr/local
BINPREFIX = $(PREFIX)/bin
all: CFLAGS += -Os
-all: LDFLAGS += -s
all: $(PROG)
debug: CFLAGS += -O0 -g -pedantic
debug: all
$(PROG): $(PROG).c
- gcc $(PROG).c -o $(PROG) $(CFLAGS) $(LIBS)
+ $(CC) $(PROG).c -o $(PROG) $(CFLAGS) $(LIBS)
install:
mkdir -p $(DESTDIR)/$(BINPREFIX)