This commit is contained in:
etrushko05
2025-10-18 04:23:04 -04:00
parent b16b98d7b7
commit e5870253c4
11 changed files with 87 additions and 1 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
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)