diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-10-05 21:49:54 +0200 |
commit | c5fcf7179a83ef65c86c6a4a390029149e518649 (patch) | |
tree | d29ffc5b86a0d257453cedcf87d91a13d8bf3b0d /semestr-4/sieci/pracownia1/makefile | |
parent | f8a88b6a4aba1f66d04711a9330eaba49a50c463 (diff) |
Duzy commit ze smieciami
Diffstat (limited to 'semestr-4/sieci/pracownia1/makefile')
-rw-r--r-- | semestr-4/sieci/pracownia1/makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/semestr-4/sieci/pracownia1/makefile b/semestr-4/sieci/pracownia1/makefile new file mode 100644 index 0000000..3c48d74 --- /dev/null +++ b/semestr-4/sieci/pracownia1/makefile @@ -0,0 +1,19 @@ +CC=gcc +CFLAGS=-std=gnu17 -O2 -Wall -Wextra +TARGET=traceroute + +all: $(TARGET) + +$(TARGET): $(TARGET).o + $(CC) -o $(TARGET) $(TARGET).o + + +$(TARGET).o: $(TARGET).c + $(CC) $(CFLAGS) -c $(TARGET).c + +distclean: + $(RM) $(TARGET) + $(RM) $(TARGET).o + +clean: + $(RM) $(TARGET).o |