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

OBJS = chess.o

all: $(OBJS)
	@mkdir -p $(BUILD)/apps/chess/
	@$(LD) -o $(BUILD)/apps/chess/exec $(LDFLAGS) $^ -lgui -ltxt -lc

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

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