aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUnia <jthidskes@live.nl>2013-04-10 14:08:18 +0200
committerUnia <jthidskes@live.nl>2013-04-10 14:08:18 +0200
commit6f96fd211d59d69fd47ff84c6b6e046cd3d57c59 (patch)
tree4065d1af09f606be8a20c794e6991cea95b08d17 /Makefile
parentefca1d1c3b92594a673f350028554ed1c829050f (diff)
new pkgbuild conform pacman 4.1
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)