aboutsummaryrefslogtreecommitdiffstats
path: root/soelim/Makefile.mk
blob: ada1441b7e9f05cb80086759cc735d3a6d38377a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OBJ = soelim.o

FLAGS =

.c.o:
	$(CC) $(_CFLAGS) $(FLAGS) -c $<

all: soelim

soelim: $(OBJ)
	$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) $(LIBS) -o soelim

install:
	$(INSTALL) -c soelim $(ROOT)$(BINDIR)/soelim
	$(STRIP) $(ROOT)$(BINDIR)/soelim
	$(INSTALL) -c -m 644 soelim.1 $(ROOT)$(MANDIR)/man1/soelim.1

clean:
	rm -f $(OBJ) soelim core log *~

mrproper: clean