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

21 lines
272 B

CC=gcc
CFLAGS=-I. -Wall -std=gnu99 -Wno-endif-labels
DEPS =
OBJ = minsh.o
all: $(OBJ)
%.o: %.c $(DEPS)
$(CC) -o $@ $< $(CFLAGS)
install:
install -s $(OBJ) /usr/bin/minsh
.PHONY : clean
clean:
rm $(OBJ)
.PHONY : test-install
test-install:
install -s $(OBJ) minsh