too many main.c files, renamed to match elf output

This commit is contained in:
Shaun Inman 2023-03-18 19:31:26 -04:00
parent b69b380a91
commit e4d9589ba8
6 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@ ifeq (,$(CROSS_COMPILE))
$(error missing CROSS_COMPILE for this toolchain)
endif
TARGET = minarch.elf
TARGET = minarch
CC = $(CROSS_COMPILE)gcc
CFLAGS = -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a -fomit-frame-pointer
@ -17,6 +17,6 @@ BUILD_HASH!=git rev-parse --short HEAD
CFLAGS += -DBUILD_DATE=\"${BUILD_DATE}\" -DBUILD_HASH=\"${BUILD_HASH}\"
all:
$(CC) main.c ../common/scaler_neon.c ../common/utils.c ../common/api.c -o $(TARGET) $(CFLAGS) $(LDFLAGS)
$(CC) $(TARGET).c ../common/scaler_neon.c ../common/utils.c ../common/api.c -o $(TARGET).elf $(CFLAGS) $(LDFLAGS)
clean:
rm -f $(TARGET)
rm -f $(TARGET).elf