Makefile.thumb 656 Bytes
Newer Older
John van Groningen's avatar
John van Groningen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC=gcc -mthumb
CFLAGS= -pedantic -Wall -W -O
CPPFLAGS=

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"