PREFIX := /usr/local BIN_DIR := $(PREFIX)/bin ifdef PCC PCC_CFLAGS=-D__float128="long double" else PCC_CFLAGS= endif CFLAGS = $(PCC_CFLAGS) OBJS = clld.c OBJ_NAME = clld all : $(OBJS) $(CC) $(OBJS) $(CFLAGS) -o $(OBJ_NAME) test-mvmt : $(CC) test-mvmt.c $(CFLAGS) -o test-mvmt clean : rm -f $(OBJ_NAME) test-mvmt install : install -D -m755 clld $(BIN_DIR)/clld uninstall : rm -f $(BIN_DIR)/clld