From 723cfa3362eb01e191b503922658ffaaf6a71007 Mon Sep 17 00:00:00 2001 From: Daniel Loffgren Date: Wed, 23 Sep 2015 16:21:10 +0000 Subject: [PATCH] Added an explicit C compilation rule, so that we can portably compile C files into objects that are in remote directories, and their objects will end up in the same remote directories git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@59 64f78de7-aa59-e511-a0e8-0002a5492df0 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index fdc9fb8..640e949 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,6 @@ cleanlib: clean: cleanlib rm -f $(PROG) $(ROM) $(OBJS) +.c.o: + $(CC) $(CFLAGS) -o $@ -c $< +