From 1f6af53f37b7a0f13bdfbf06045f083372a82384 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 17 Jan 2011 16:18:47 +0100 Subject: Fixed Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf