added t1 t2 and readme
This commit is contained in:
19
trial1/makefile
Normal file
19
trial1/makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
CC=gcc
|
||||
IDIR=./include
|
||||
LDIR=./lib
|
||||
ODIR=./out
|
||||
_DEPS = fun1.h
|
||||
DEPS = $(pathsbst %,(IDIR)/%,%(_DEPS))
|
||||
|
||||
|
||||
CFLAGS= -I. -T$(IDIR)
|
||||
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: main.c fun1.c
|
||||
${CC} -o $(ODIR)/main2 main.c fun1.c
|
||||
|
||||
clean:
|
||||
rm -r $(ODIR)/*
|
||||
rm -r ./keys/*
|
||||
Reference in New Issue
Block a user