summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cce27fb)
raw | patch | inline | side by side (parent: cce27fb)
author | Ivan Denisov <d.ivan.krsk@gmail.com> | |
Sat, 3 Oct 2015 16:55:38 +0000 (23:55 +0700) | ||
committer | Ivan Denisov <d.ivan.krsk@gmail.com> | |
Sat, 3 Oct 2015 16:55:38 +0000 (23:55 +0700) |
BlackBox/_Linux_/Lin/Rsrc/Makefile | patch | blob | history |
index 938607b3719ec9b6faf1bec98ca48a1bc0c6fb41..384663bbadf6a19a70dedaa3fdad0d0560e8d07b 100644 (file)
-# Make File for building the Linux BlackBox Loader\r
-# Runs on Linux ELF \r
-\r
-# for 32-bit\r
-CFLAGS = -O2\r
-\r
-# for 64-bit\r
-# CFLAGS = -m32 -O2\r
-\r
-exe.img: blackbox.o\r
- gcc $(CFLAGS) -o exe.img blackbox.o -ldl -lm\r
-\r
-blackbox.o:\r
- gcc $(CFLAGS) -c blackbox.c\r
-\r
-clean:\r
- rm exe.img blackbox.o\r
+# Make File for building the Linux BlackBox Loader
+# Runs on Linux ELF
+
+CFLAGS = -m32 -O2
+
+all: exe.img
+
+exe.img: blackbox.o
+ ${CC} $(CFLAGS) -o exe.img blackbox.o -ldl -lm
+
+blackbox.o: blackbox.c
+ ${CC} $(CFLAGS) -c blackbox.c
+
+clean:
+ rm -f exe.img blackbox.o