You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
453 B

# sacc: saccomys gopher client
# See LICENSE file for copyright and license details.
.POSIX:
include config.mk
BIN = sacc
OBJ = $(BIN:=.o) ui_$(UI).o
all: $(BIN)
config.h:
cp config.def.h config.h
$(BIN): config.h config.mk common.h $(OBJ)
$(CC) $(OBJ) $(SACCLDFLAGS) -o $@
clean:
rm -f $(BIN) $(OBJ)
install: $(BIN)
mkdir -p $(PREFIX)/bin/
cp -f $(BIN) $(PREFIX)/bin/
chmod 555 $(PREFIX)/bin/$(BIN)
uninstall:
rm -f $(PREFIX)/bin/$(BIN)