]> git.decadent.org.uk Git - ion3.git/blob - utils/ion-completefile/Makefile
[svn-inject] Installing original source of ion3
[ion3.git] / utils / ion-completefile / Makefile
1 ##
2 ## Ion-completefile Makefile
3 ##
4
5 # System-specific configuration is in system.mk
6 TOPDIR=../..
7 include $(TOPDIR)/build/system-inc.mk
8
9 ######################################
10
11 LIBS += $(LIBTU_LIBS)
12 INCLUDES += $(LIBTU_INCLUDES)
13 CFLAGS += $(XOPEN_SOURCE)
14
15 SOURCES=ion-completefile.c
16
17 TARGETS=ion-completefile
18
19 ######################################
20
21 include $(TOPDIR)/build/rules.mk
22
23 ######################################
24
25 ion-completefile: $(SOURCES)
26         $(CC) $< $(CFLAGS) $(LDFLAGS) -o $@
27
28 _install:
29         $(INSTALLDIR) $(EXTRABINDIR)
30         $(INSTALL) -s -m $(BIN_MODE) ion-completefile $(EXTRABINDIR)