diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-03-11 21:40:28 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-03-11 21:40:28 -0400 |
commit | 50392995d6e7f3a10fb74bb2f9073a4790f8933c (patch) | |
tree | c89b067b3bacf35e092af5c31fb6e6a08921f31c /initrd/programs/init/Makefile | |
download | jove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.tar.gz jove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.tar.bz2 jove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.zip |
Diffstat (limited to 'initrd/programs/init/Makefile')
-rw-r--r-- | initrd/programs/init/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/initrd/programs/init/Makefile b/initrd/programs/init/Makefile new file mode 100644 index 0000000..3a283de --- /dev/null +++ b/initrd/programs/init/Makefile @@ -0,0 +1,8 @@ +CFILES := $(wildcard *.c) +OFILES := $(patsubst %.c,%.o,$(CFILES)) + +all: ${OFILES} + $(CC) $< -o $(OUT) -lc + +%.o : %.c + $(CC) -I$(ABIDIR) -g $(CFLAGS) -c $< -o $@ |