From b4de032767f13d2b6cfa2063b67fc3a74f3b1670 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sat, 20 Jul 2024 18:24:56 -0400 Subject: added static target, first implementation of eztester --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..018b920 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CC := gcc +CFLAGS := + +SRCS := eztester.c +OBJS := eztester.o eztester_debug.o +STATIC_LIBS := eztester.a eztester_debug.a + +all: $(STATIC_LIBS) + +eztester.o: eztester.c + $(CC) -c $(CFLAGS) -o $@ $< + +eztester_debug.o: eztester.c + $(CC) -c -ggdb $(CFLAGS) -o $@ $< + +%.a: %.o + ar rcs $@ $< -- cgit v1.2.3