rename src/Makefile
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 4 Sep 2017 01:24:38 +0000 (10:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 4 Sep 2017 01:24:38 +0000 (10:24 +0900)
ChangeLog
src/Makefile [new file with mode: 0644]
src/Makefile.in [deleted file]

index d5d77ac..c2b01e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-04  NIIBE Yutaka  <gniibe@fsij.org>
+
+       * src/Makefile: Rename from src/Makefile.in (as done in gnuk).
+
 2017-09-01  NIIBE Yutaka  <gniibe@fsij.org>
 
        * src/neug.c (crc32_reset, crc32_step, crc32_get): Move CRC32
diff --git a/src/Makefile b/src/Makefile
new file mode 100644 (file)
index 0000000..dc7d4a3
--- /dev/null
@@ -0,0 +1,51 @@
+# Makefile for NeuG
+
+# Define project name here
+PROJECT = neug
+
+CHOPSTX = ../chopstx
+FRAUCHEKY = ../fraucheky
+
+# Define linker script file here
+LDSCRIPT= @LDSCRIPT@
+
+CSRC = main.c sha256.c neug.c
+CHIP=@CHIP@
+USE_SYS = @USE_SYS@
+USE_USB = yes
+USE_ADC = yes
+EMULATION=@EMULATION@
+
+@ENABLE_FRAUCHEKY@include $(FRAUCHEKY)/src.mk
+
+@HEXOUTPUT_MAKE_OPTION@
+
+###################################
+CROSS = @CROSS@
+CC   = $(CROSS)gcc
+LD   = $(CROSS)gcc
+OBJCOPY   = $(CROSS)objcopy
+
+MCU   = @MCU@
+CWARN = -Wall -Wextra -Wstrict-prototypes
+# DEFS: Add  
+DEFS  = @USE_SYS3@ @DEF_EMULATION@
+OPT   = -O3 -Os -g
+LIBS  = @LIBS@
+
+#######################
+include $(CHOPSTX)/rules.mk
+
+@ENABLE_FRAUCHEKY@include $(FRAUCHEKY)/build.mk
+###################################
+
+board.h:
+       @echo Please run configure to have a symbolic link \'board.h\'
+       @exit 1
+
+build/sha256.o: OPT = -O3 -g
+build/neug.o: OPT = -O3 -g
+
+distclean:: clean
+       -rm -f neug.ld config.h board.h Makefile \
+              usb-strings.c.inc usb-vid-pid-ver.c.inc
diff --git a/src/Makefile.in b/src/Makefile.in
deleted file mode 100644 (file)
index dc7d4a3..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# Makefile for NeuG
-
-# Define project name here
-PROJECT = neug
-
-CHOPSTX = ../chopstx
-FRAUCHEKY = ../fraucheky
-
-# Define linker script file here
-LDSCRIPT= @LDSCRIPT@
-
-CSRC = main.c sha256.c neug.c
-CHIP=@CHIP@
-USE_SYS = @USE_SYS@
-USE_USB = yes
-USE_ADC = yes
-EMULATION=@EMULATION@
-
-@ENABLE_FRAUCHEKY@include $(FRAUCHEKY)/src.mk
-
-@HEXOUTPUT_MAKE_OPTION@
-
-###################################
-CROSS = @CROSS@
-CC   = $(CROSS)gcc
-LD   = $(CROSS)gcc
-OBJCOPY   = $(CROSS)objcopy
-
-MCU   = @MCU@
-CWARN = -Wall -Wextra -Wstrict-prototypes
-# DEFS: Add  
-DEFS  = @USE_SYS3@ @DEF_EMULATION@
-OPT   = -O3 -Os -g
-LIBS  = @LIBS@
-
-#######################
-include $(CHOPSTX)/rules.mk
-
-@ENABLE_FRAUCHEKY@include $(FRAUCHEKY)/build.mk
-###################################
-
-board.h:
-       @echo Please run configure to have a symbolic link \'board.h\'
-       @exit 1
-
-build/sha256.o: OPT = -O3 -g
-build/neug.o: OPT = -O3 -g
-
-distclean:: clean
-       -rm -f neug.ld config.h board.h Makefile \
-              usb-strings.c.inc usb-vid-pid-ver.c.inc