aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-17 16:18:47 +0100
committerBert <ber.t@gmx.com>2011-01-17 16:18:47 +0100
commit1f6af53f37b7a0f13bdfbf06045f083372a82384 (patch)
tree43c9bf2e1669dd7e5b36d73015b4c8f7c3b0c3e1
parent7368382e4e54e9adbd4fb008c56d870581b3f679 (diff)
Fixed Makefile
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d205b70..3e755b4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@ all: sxiv
CC?=gcc
PREFIX?=/usr/local
-CFLAGS+= -Wall -pedantic -g
+CFLAGS+= -std=c99 -Wall -pedantic -g
LDFLAGS+=
-LIBS+=
+LIBS+= -lX11
SRCFILES=$(wildcard *.c)
OBJFILES=$(SRCFILES:.c=.o)
-physlock: $(OBJFILES)
+sxiv: $(OBJFILES)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
%.o: %.c Makefile