Add dev tools

This commit is contained in:
Mario Fetka
2022-11-26 22:54:07 +01:00
parent 80c8429421
commit f90a215a8d
7 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
--- Hex2bin-2.5/Makefile.orig 2022-11-26 21:28:39.060476310 +0100
+++ Hex2bin-2.5/Makefile 2022-11-26 21:30:59.302317881 +0100
@@ -1,10 +1,11 @@
# Makefile hex2bin/mot2bin
-
-CPFLAGS = -std=c99 -O2 -Wall -pedantic
+CC=gcc
+CFLAGS= -fcommon
+CPFLAGS = -std=c99 -O2 -Wall -pedantic $(CFLAGS)
# Compile
%.o : %.c
- gcc -c $(CPFLAGS) $< -o $@
+ $(CC) -c $(CPFLAGS) $< -o $@
#WIN64_GCC = x86_64-w64-mingw32-gcc
WINDOWS = i686-w64-mingw32