StupidOS/sbin/parted/Makefile

17 lines
209 B
Makefile
Raw Normal View History

2024-04-14 05:35:43 +00:00
TARGET = parted
SRCS = main.c
OBJS = $(SRCS:.c=.o)
.PHONY: all
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
.PHONY: clean
clean:
$(RM) $(TARGET) $(OBJS)
.PHONY: install
install: $(TARGET)