# # makefile for simple examples # # "make all" or just "make" to make all examples # "make clean" to delete executable and intermediate files # .PHONY: default default: all include Makefile-base include Makefile-depend # more flags needed for some examples STD=-std=c99 # suppress warnings coming from ncurses macros EXTRA_CFLAGS = -Wno-unused-but-set-variable executables = $(sources:.c=) # $sources set in Makefile-depend .PHONY: all all: alldepend $(executables) .PHONY: clean clean: $(MAKE) dclean -rm $(executables)