# $HeadURL$ $LastChangedRevision$ # # Preamble # include $(shell aderoot include)/bin/Makefile PTYPLUMBER_SOURCES = ptyplumber.c ptyplumber_cli.c ptyplumber_pfd.c ptyplumber_ipc.c CC = gcc CFLAGS = -pthread -pipe -g -fomit-frame-pointer -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -pthread LDFLAGS = -pthread -L$(shell aderoot lib) -lutil -lade -lreadline -lpthread -pthread CPPFLAGS = -I$(shell aderoot include) # # Dependencies for ADE-standard targets # compile: ptyplumber # # Recipes for ADE-standard targets # install: $(ADE_MF_ADEINST_CMD) $(ADE_MF_ADEINST_FLAGS) \ ptyplumber $(ADE_MF_INSTALL_DIR) clean: rm -f ptyplumber *.o ptyplumber: $(PTYPLUMBER_SOURCES:.c=.o) #ptyplumber-static: $(PTYPLUMBER_SOURCES:.c=.o) # $(CC) $(CFLAGS) -static -o $@ $(PTYPLUMBER_SOURCES:.c=.o) $(LDFLAGS)