# ############################################################################## # User variables # user variables can be specified in the environment or in a .config file -include .config # Where is the LITMUS^RT userspace library source tree? LIBLITMUS ?= ../liblitmus # Include default configuration from liblitmus # Liblitmus must have been built before ft_tools can be built. include ${LIBLITMUS}/inc/config.makefile # all sources vpath %.c src/ # local include files CPPFLAGS += -Iinclude/ # ############################################################################## # Targets all = ftcat ft2csv ftdump ftsort .PHONY: all clean all: ${all} clean: rm -f ${all} *.o *.d obj-ftcat = ftcat.o timestamp.o ftcat: ${obj-ftcat} obj-ft2csv = ft2csv.o timestamp.o mapping.o ft2csv: ${obj-ft2csv} obj-ftdump = ftdump.o timestamp.o mapping.o ftdump: ${obj-ftdump} obj-ftsort = ftsort.o timestamp.o mapping.o ftsort: ${obj-ftsort} # dependency discovery include ${LIBLITMUS}/inc/depend.makefile