X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Fls_src%2FMakefile;h=070bcb33a615ac4599ca6defc8ac3b242c1e8d63;hb=3bf25161f4e1cba15152c5485dcf391aba90b1e9;hp=893dc556e196b6295b0c0b19e7e6a7890cc249e5;hpb=9d3800f60f2212432e550a4e003ae65b498a4d36;p=tpg%2Facess2.git diff --git a/Usermode/Applications/ls_src/Makefile b/Usermode/Applications/ls_src/Makefile index 893dc556..070bcb33 100644 --- a/Usermode/Applications/ls_src/Makefile +++ b/Usermode/Applications/ls_src/Makefile @@ -1,27 +1,8 @@ -# Project: cat - --include ../Makefile.cfg - -COBJ = main.o -BIN = ../ls - -CFLAGS += -Wall -fno-builtin -LDFLAGS += - -.PHONY : all clean - -all: $(BIN) - -$(BIN): $(COBJ) - @echo --- $(LD) -o $@ - @$(LD) $(LDFLAGS) -o $@ $(COBJ) -Map Map.txt - objdump -d $(BIN) > $(BIN).dsm - cp $(BIN) $(DISTROOT)/Bin/ - -clean: - $(RM) $(COBJ) $(BIN) - -$(COBJ): %.o: %.c - @echo --- GCC -o $@ - @$(CC) $(CFLAGS) -c $? -o $@ - +# Project: cat + +-include ../Makefile.cfg + +OBJ = main.o +BIN = ls + +-include ../Makefile.tpl