aboutsummaryrefslogtreecommitdiff
path: root/apps/init/Makefile
blob: b56c344dc06b4527e392a72384bbb20c2a35362a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# MIT License, Copyright (c) 2021 Marvin Borner

OBJS = init.o

all: $(OBJS)
	@mkdir -p $(BUILD)/apps/init/
	@$(LD) -o $(BUILD)/apps/init/exec $(LDFLAGS) $< -lc

clean:
	@$(RM) -f $(OBJS)

%.o: %.c
	@$(CC) -c $(CFLAGS) $< -o $@