Files
lab0.1_letscontinue/Makefile
etrushko05 3b7ddda0f5 13
2025-10-25 04:35:31 -04:00

17 lines
191 B
Makefile

OBJ = str.o str_test.o util.o
CFLAGS = -Wall
TARGET=myprog
all: $(TARGET)
$(TARGET): $(OBJ)
$(CC) $(CFLAGS) -o $@ $^
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
clean:
rm $(TARGET) $(OBJ)