Commit 95da8d90 authored by John van Groningen's avatar John van Groningen
Browse files

add Thumb-2 Makefiles

parent 3910b52e
CC=gcc -mthumb
CFLAGS= -pedantic -Wall -W -O
all: cDirectory.o ipc.o set_return_code_c.o \
Clean\ System\ Files \
Clean\ System\ Files/cDirectory.o \
Clean\ System\ Files/ipc_c.o \
Clean\ System\ Files/set_return_code_c.o
Clean\ System\ Files:
mkdir -p "Clean System Files"
Clean\ System\ Files/cDirectory.o : cDirectory.c
$(CC) -c $(CFLAGS) cDirectory.c -o "Clean System Files/cDirectory.o"
Clean\ System\ Files/ipc_c.o : ipc.c
$(CC) -c $(CFLAGS) ipc.c -o "Clean System Files/ipc_c.o"
Clean\ System\ Files/set_return_code_c.o : set_return_code_c.c
$(CC) -c $(CFLAGS) set_return_code_c.c -o "Clean System Files/set_return_code_c.o"
(cd backendC/CleanCompilerSources; make -f Makefile.thumb)
(cd ../libraries/ArgEnvUnix; make -f Makefile_thumb ArgEnvC.o)
(cd main/Unix; make -f Makefile.thumb all);
$CLM -ci -I backend -I frontend -I main -I main/Unix -ABC -fusion backendconvert
$CLM -h 24M -nt -nw -ci -ns -nr -I backend -I frontend -I main -I main/Unix \
-I ../libraries/ArgEnvUnix \
-l backendC/CleanCompilerSources/backend.a \
cocl -o cocl
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment