Makefile 647 Bytes
Newer Older
Ronny Wichers Schreur's avatar
Ronny Wichers Schreur committed
1
CC=gcc
John van Groningen's avatar
John van Groningen committed
2
CFLAGS=-pedantic -Wall -W -O
Ronny Wichers Schreur's avatar
Ronny Wichers Schreur committed
3 4
CPPFLAGS=

5
all: cDirectory.o ipc.o set_return_code_c.o \
6
	Clean\ System\ Files \
7
	Clean\ System\ Files/cDirectory.o \
8
	Clean\ System\ Files/ipc_c.o \
9 10
	Clean\ System\ Files/set_return_code_c.o

11
Clean\ System\ Files:
12
	mkdir -p "Clean System Files"
13

14
Clean\ System\ Files/cDirectory.o : cDirectory.c
15
	$(CC) -c $(CFLAGS) cDirectory.c -o "Clean System Files/cDirectory.o"
16

17 18
Clean\ System\ Files/ipc_c.o : ipc.c
	$(CC) -c $(CFLAGS) ipc.c -o "Clean System Files/ipc_c.o"
19 20

Clean\ System\ Files/set_return_code_c.o : set_return_code_c.c
21
	$(CC) -c $(CFLAGS) set_return_code_c.c -o "Clean System Files/set_return_code_c.o"
22