2 ## Ion-completefile Makefile
5 # System-specific configuration is in system.mk
7 include $(TOPDIR)/build/system-inc.mk
9 ######################################
12 INCLUDES += $(LIBTU_INCLUDES)
13 CFLAGS += $(XOPEN_SOURCE) $(C99_SOURCE)
15 SOURCES=ion-completefile.c
17 TARGETS=ion-completefile
19 ######################################
21 include $(TOPDIR)/build/rules.mk
23 ######################################
25 ion-completefile: $(SOURCES)
26 $(CC) $< $(CFLAGS) $(LDFLAGS) -o $@
29 $(INSTALLDIR) $(EXTRABINDIR)
30 $(INSTALL) -s -m $(BIN_MODE) ion-completefile $(EXTRABINDIR)