diff options
Diffstat (limited to 'apps/chess/Makefile')
-rw-r--r-- | apps/chess/Makefile | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/apps/chess/Makefile b/apps/chess/Makefile index e84f65f..bc65e93 100644 --- a/apps/chess/Makefile +++ b/apps/chess/Makefile @@ -1,16 +1,7 @@ # MIT License, Copyright (c) 2021 Marvin Borner -OBJS = chess.o +NAME = chess +OBJS = main.o +LIBS = -lgui -lc -all: $(OBJS) - @mkdir -p $(BUILD)/apps/chess/ - @$(LD) -o $(BUILD)/apps/chess/exec $(LDFLAGS) $^ -lgui -ltxt -lc -ifeq ($(CONFIG_STRIP), true) - @$(ST) --strip-all $(BUILD)/apps/chess/exec -endif - -clean: - @$(RM) -f $(OBJS) - -%.o: %.c - @$(CC) -c $(CFLAGS) $< -o $@ +include ../generic.mk |