Fixed Makefile

master
Bert 2011-01-17 16:18:47 +01:00
parent 7368382e4e
commit 1f6af53f37
1 changed files with 3 additions and 3 deletions

View File

@ -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