some playing with bbs - new fm
[mirrors/Programs.git] / bash / bbs / utils / fm / fm-1.0 / Makefile
CommitLineData
21c4e167
H
1#CFLAGS = -g -Wall -pedantic -ansi $$(pkg-config --cflags glib-2.0)
2#LDFLAGS = -lncursesw $$(pkg-config --libs glib-2.0)
3CFLAGS = -O2 -Wall $$(pkg-config --cflags glib-2.0)
4LDFLAGS = -s -lncursesw $$(pkg-config --libs glib-2.0)
5PREFIX = /usr/local
6SOURCES = fm.c fs.c ui.c cmd.c
7HEADERS = fm.h
8OBJECTS = ${SOURCES:.c=.o}
9BINARY = fm
10
11#all: tags ${BINARY}
12all: ${BINARY}
13
14${BINARY}: ${OBJECTS}
15 ${CC} ${LDFLAGS} -o ${BINARY} ${OBJECTS}
16
17${OBJECTS}: ${HEADERS}
18
19tags: ${SOURCES} ${HEADERS}
20 ctags ${SOURCES} ${HEADERS}
21
22install: all
23 install -D -m 755 -o root -g root ${BINARY} ${PREFIX}/bin/${BINARY}
24
25uninstall:
26 rm -f ${PREFIX}/bin/${BINARY}
27
28clean:
29 rm -f fm *.o tags
This page took 0.163848 seconds and 4 git commands to generate.