aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '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