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.
cfiles/Makefile

24 lines
299 B

CC = gcc
CFLAGS = -I. -Wall
LIBS = -lncurses
SRCS = cf.c
OBJS = $(SRCS: .c = .o)
PROG = cfiles
DEST = /usr/local/bin
all: $(OBJS)
$(CC) $(CFLAGS) $(LIBS) $(OBJS) -o $(PROG)
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm *.o
rm *~
install:
cp -v $(PROG) $(DEST)
uninstall:
rm -v "$(DEST)/$(PROG)"