git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/x86 - Some extra logging in ACPICA shim
[tpg/acess2.git]
/
Usermode
/
Applications
/
init_src
/
Makefile
diff --git
a/Usermode/Applications/init_src/Makefile
b/Usermode/Applications/init_src/Makefile
index
a51f61b
..
df032bc
100644
(file)
--- a/
Usermode/Applications/init_src/Makefile
+++ b/
Usermode/Applications/init_src/Makefile
@@
-1,27
+1,13
@@
#
#
-#
-#
-CC = gcc
-AS = nasm
-LD = ld
-RM = rm -f
+-include ../Makefile.cfg
-ASFLAGS = -felf
-CPPFLAGS = -nostdinc -I../../include
-CFLAGS = -Wall -Werror -O3 $(CPPFLAGS)
-LDFLAGS = -I/Acess/Libs/ld-acess.so -L../../Libraries ../../Libraries/crt0.o -lacess
+CPPFLAGS +=
+CFLAGS += -Wall -Werror -O3
+LDFLAGS +=
+BIN = init
OBJ = main.o
OBJ = main.o
-BIN = ../init
-
-.PHONY: all clean
-
-all: $(BIN)
-
-$(BIN): $(OBJ) Makefile
- $(LD) $(LDFLAGS) $(OBJ) -o $(BIN)
- cp $(BIN) /mnt/AcessHDD/Acess2/
+DIR = SBin
-%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
+-include ../Makefile.tpl
UCC
git Repository :: git.ucc.asn.au