add make to 1
This commit is contained in:
13
lab_1/Makefile
Normal file
13
lab_1/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
CC = gcc
|
||||||
|
CFLAGS = -Wall -Wextra -O2
|
||||||
|
|
||||||
|
TARGET = task12
|
||||||
|
SRC = task12.c
|
||||||
|
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
$(TARGET): $(SRC)
|
||||||
|
$(CC) $(CFLAGS) -o $(TARGET) $(SRC)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(TARGET) out.txt
|
||||||
Reference in New Issue
Block a user