From 7d4cba79e6c04b4151c80caecd3d1627028d0842 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 24 Nov 2001 19:43:48 +0000 Subject: [PATCH] better %.o: %.c rule --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f40578e..730425b 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,9 @@ libowfat.a: $(BYTE_OBJS) $(FMT_OBJS) $(SCAN_OBJS) $(STR_OBJS) \ $(UINT_OBJS) $(OPEN_OBJS) $(STRA_OBJS) $(UNIX_OBJS) $(SOCKET_OBJS) \ $(BUFFER_OBJS) $(MMAP_OBJS) +%.o: %.c + $(DIET) $(CC) -c $< -o $@ $(CFLAGS) + %.a: ar cr $@ $^ -ranlib $@