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

OBJS = test.o

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

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

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