Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (20 sloc) 0.396 kb
e7bc3bb @muennich Non-working skeleton
authored
1 all: sxiv
2
3 CC?=gcc
4 PREFIX?=/usr/local
5 CFLAGS+= -Wall -pedantic -g
6 LDFLAGS+=
7 LIBS+=
8
9 SRCFILES=$(wildcard *.c)
10 OBJFILES=$(SRCFILES:.c=.o)
11
12 physlock: $(OBJFILES)
13 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
14
15 %.o: %.c Makefile
16 $(CC) $(CFLAGS) -c -o $@ $<
17
18 install: all
19 install -D -m 4755 -o root -g root sxiv $(PREFIX)/sbin/sxiv
20
21 clean:
22 rm -f sxiv *.o
23
24 tags: *.h *.c
25 ctags $^
26
27 cscope: *.h *.c
28 cscope -b
Something went wrong with that request. Please try again.