Skip to content

Commit f2fd8fd

Browse files
committed
[test] test normal c based 42project
1 parent a5d379c commit f2fd8fd

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,7 @@
4343
4444
- name: Create Makefile for testing
4545
run: |
46-
echo 'SRCS= $(shell find . -type f -name "*.c")
47-
INCLUDES= $(shell find . -type f -name "*.h")
48-
OBJS= $(SRCS:.c=.o)
49-
CC= cc
50-
CFLAGS= -Wall -Wextra -Werror
51-
NAME= uniq_name_][
52-
all: $(NAME)
53-
$(NAME): $(OBJS)
54-
\t$(CC) $(OBJS) -o $(NAME)
55-
%.o: %.c $(INCLUDES)
56-
\t$(CC) $(CFLAGS) -c $< -o $@' > Makefile
46+
echo 'SRCS= $(shell find . -type f -name "*.c")\nINCLUDES= $(shell find . -type f -name "*.h")\nOBJS= $(SRCS:.c=.o)\nCC= cc\nCFLAGS= -Wall -Wextra -Werror\nNAME= uniq_name_][\nall: $(NAME)\n$(NAME): $(OBJS)\n\t$(CC) $(OBJS) -o $(NAME)\n%.o: %.c $(INCLUDES)\n\t$(CC) $(CFLAGS) -c $< -o $@' > Makefile
5747
- name: Run Services
5848
run: |
5949
make

0 commit comments

Comments
 (0)