From de171bfe7128a1307c265de41e311956f80a22de Mon Sep 17 00:00:00 2001 From: jakcron Date: Wed, 13 Apr 2022 13:53:23 +0800 Subject: [PATCH] Delete makefile --- makerom/Makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 makerom/Makefile diff --git a/makerom/Makefile b/makerom/Makefile deleted file mode 100644 index 5192bf4..0000000 --- a/makerom/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# Sources -SRC_DIR = . polarssl libyaml -OBJS = $(foreach dir,$(SRC_DIR),$(subst .c,.o,$(wildcard $(dir)/*.c))) - -# Compiler Settings -CFLAGS = --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -CC = gcc - -SYS := $(shell gcc -dumpmachine) -ifneq (, $(findstring linux, $(SYS))) - # Linux - CFLAGS += -Wno-unused-but-set-variable -else ifneq (, $(findstring cygwin, $(SYS))) - # Cygwin - CFLAGS += -Wno-unused-but-set-variable - LIBS += -liconv -else ifneq (, $(findstring darwin, $(SYS))) - # OS X - LIBS += -liconv -else - #Windows Build CFG - CFLAGS += -Wno-unused-but-set-variable - LIBS += -static-libgcc -endif - -# MAKEROM Build Settings -OUTPUT = makerom - -main: build - -rebuild: clean build - -build: $(OBJS) - $(CC) -o $(OUTPUT) $(OBJS) $(LIBS) - -clean: - rm -rf $(OUTPUT) $(OBJS) \ No newline at end of file