Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Lab0 standard #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .for.sh.swp
Binary file not shown.
Empty file added .gitkeep
Empty file.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GXX = gcc
SRC = $(wildcard *.c)
OBJS = $(patsubst %.c,%.o,$(SRC))

compile : $(OBJS)
$(GXX) $^ -o ../fibo

$(OBJS) : %.o : %.c
$(CXX) -c -I ../include $< -o $@

.PHONY : clean
clean :
rm -rf *.o
Loading