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
Altered keyboard driver to correctly support Unicode
[tpg/acess2.git]
/
Usermode
/
Applications
/
init_src
/
Makefile
diff --git
a/Usermode/Applications/init_src/Makefile
b/Usermode/Applications/init_src/Makefile
index
a51f61b
..
9331f6e
100644
(file)
--- a/
Usermode/Applications/init_src/Makefile
+++ b/
Usermode/Applications/init_src/Makefile
@@
-1,27
+1,27
@@
#
#
-#
-#
-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 +=
-OBJ = main.o
BIN = ../init
BIN = ../init
+OBJ = main.o
.PHONY: all clean
all: $(BIN)
.PHONY: all clean
all: $(BIN)
+clean:
+ $(RM) $(BIN) $(OBJ) $(BIN).dsm
+
$(BIN): $(OBJ) Makefile
$(BIN): $(OBJ) Makefile
- $(LD) $(LDFLAGS) $(OBJ) -o $(BIN)
- cp $(BIN) /mnt/AcessHDD/Acess2/
+ @echo --- ld -o $(BIN)
+ @$(LD) $(LDFLAGS) $(OBJ) -o $(BIN)
+ $(OBJDUMP) -d $(BIN) > $(BIN).dsm
+ cp $(BIN) $(DISTROOT)/SBin/
%.o: %.c
%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
+ @echo --- cc -o $@
+ @$(CC) $(CFLAGS) -c $< -o $@
UCC
git Repository :: git.ucc.asn.au