Initial commit

This commit is contained in:
Matheus
2022-07-21 22:50:12 -03:00
commit b44469a3e1
55 changed files with 4661 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
objects := $(patsubst %.c,%.o,$(wildcard *.c))
subdirs := stdio string
OBJPATH=$(OBJDIR)/include
export
all: $(subdirs) $(objects)
for subdir in $(subdirs) ; do $(MAKE) -C $${subdir} ; done
%.o: %.c
$(CC) $(CFLAGS) -o $@ $<
mkdir -p $(OBJPATH)
cp $@ $(OBJPATH)/$@