machine endianess

This commit is contained in:
2024-02-29 10:59:49 +05:30
parent dc5620324b
commit ba495cf210
5 changed files with 103 additions and 0 deletions

14
endianess/Makefile Normal file
View File

@@ -0,0 +1,14 @@
TARGET: endian_exe
endian_exe: main.o endian.o
gcc main.o endian.o -o endian_exe
endian.o: endian.c
gcc -c endian.c -o endian.o
main.o: main.c
gcc -c main.c -o main.o
clean:
rm main.o
rm endian.o