Browse Source

Fixed Makefile

master
Bert 14 years ago
parent
commit
1f6af53f37
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@@ -2,14 +2,14 @@ all: sxiv


CC?=gcc CC?=gcc
PREFIX?=/usr/local PREFIX?=/usr/local
CFLAGS+= -Wall -pedantic -g
CFLAGS+= -std=c99 -Wall -pedantic -g
LDFLAGS+= LDFLAGS+=
LIBS+=
LIBS+= -lX11


SRCFILES=$(wildcard *.c) SRCFILES=$(wildcard *.c)
OBJFILES=$(SRCFILES:.c=.o) OBJFILES=$(SRCFILES:.c=.o)


physlock: $(OBJFILES)
sxiv: $(OBJFILES)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)


%.o: %.c Makefile %.o: %.c Makefile


Loading…
Cancel
Save