Updated build system to remove `install` from `all`
[tpg/acess2.git] / Usermode / Applications / ifconfig_src / Makefile
index 8b6ccff..a703521 100644 (file)
@@ -2,26 +2,8 @@
 \r
 -include ../Makefile.cfg\r
 \r
-COBJ = main.o
+OBJ = main.o
 BIN = ../ifconfig\r
 \r
-CFLAGS  += -Wall -fno-builtin -fno-stack-protector\r
-LDFLAGS += \r
-\r
-.PHONY : all clean\r
-\r
-all: $(BIN)\r
-\r
-$(BIN): $(COBJ)\r
-       @echo --- $(LD) -o $@\r
-       @$(LD) $(LDFLAGS) -o $@ $(COBJ) -Map Map.txt\r
-       @objdump -d $(BIN) > $(BIN).dsm\r
-       $(xCP) $(BIN) $(DISTROOT)/Bin/
-\r
-clean:\r
-       @$(RM) $(COBJ) $(BIN) $(BIN).dsm Map.txt
-\r
-$(COBJ): %.o: %.c\r
-       @echo --- GCC -o $@
-       @$(CC) $(CFLAGS) -c $? -o $@
+-include ../Makefile.tpl
 \r

UCC git Repository :: git.ucc.asn.au