From 4983bbee296d3fdbef9339e8c8f19dd3e7af5262 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Sun, 27 Apr 2025 21:14:05 +0200 Subject: fill make file --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Makefile b/Makefile index e69de29..f567c38 100644 --- a/Makefile +++ b/Makefile @@ -0,0 +1,24 @@ +.POSIX: + +CFLAGS = -O 1 +LDFLAGS = +OUTNAME = libfemtokit.a +TESTFILE = hello.c + +all: clean build + ar -rs $(OUTNAME) *.o + +build: + +clean: + -rm test *.o *.a + +install: all + mv -f $(OUTNAME) /usr/lib + +test: all + c99 -l libfemtokit.a -o test test/$(TESTFILE) + +.c.o: + c99 -c $(CFLAGS) -o $@ $< + -- cgit v1.2.3