-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
18 lines (16 loc) · 814 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
assembler: main.o first.o second.o dataimage.o symbols.o build_outputs.o macro.o
gcc -g -ansi -pedantic -Wall main.o first.o second.o dataimage.o symbols.o build_outputs.o macro.o -o assembler -lm
first.o: first.c data.h
gcc -g -c -ansi -pedantic -Wall first.c -o first.o -lm
macro.o: macro.c data.h
gcc -g -c -ansi -pedantic -Wall macro.c -o macro.o
symbols.o: symbols.c data.h
gcc -g -c -ansi -pedantic -Wall symbols.c -o symbols.o
main.o: main.c data.h
gcc -g -c -ansi -pedantic -Wall main.c -o main.o
dataimage.o: dataimage.c data.h
gcc -g -c -ansi -pedantic -Wall dataimage.c -o dataimage.o
second.o: second.c data.h
gcc -g -c -ansi -pedantic -Wall second.c -o second.o
build_outputs.o: build_outputs.c data.h
gcc -g -c -ansi -pedantic -Wall build_outputs.c -o build_outputs.o