IyBWYXJpYWJsZXMKQ0MgPSBnY2MKQ0ZMQUdTID0gLVdhbGwgLVdleHRyYSAtc3RkPWM5OSAtZwpUQVJHRVQgPSBwaXBlX2V4ZWMKU1JDID0gbWFpbi5jCk9CSiA9IG1haW4ubwoKIyBEZWZhdWx0IHRhcmdldAphbGw6ICQoVEFSR0VUKQoKIyBMaW5rIHRoZSBleGVjdXRhYmxlCiQoVEFSR0VUKTogJChPQkopCgkkKENDKSAkKENGTEFHUykgLW8gJEAgJF4KCiMgQ29tcGlsZSB0aGUgc291cmNlIGZpbGUgaW50byBhbiBvYmplY3QgZmlsZQolLm86ICUuYwoJJChDQykgJChDRkxBR1MpIC1jICQmbHQ7IC1vICRACgojIENsZWFuIHVwIHRoZSBidWlsZCBhcnRpZmFjdHMKY2xlYW46CglybSAtZiAkKE9CSikgJChUQVJHRVQpCgojIFBob255IHRhcmdldHMKLlBIT05ZOiBhbGwgY2xlYW4=
# Variables
CC = gcc
CFLAGS = -Wall -Wextra -std=c99 -g
TARGET = pipe_exec
SRC = main.c
OBJ = main.o
# Default target
all: $(TARGET)
# Link the executable
$(TARGET): $(OBJ)
$(CC) $(CFLAGS) -o $@ $^
# Compile the source file into an object file
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
# Clean up the build artifacts
clean:
rm -f $(OBJ) $(TARGET)
# Phony targets
.PHONY: all clean