Skip to content

Commit

Permalink
Sort apps alphabetically.
Browse files Browse the repository at this point in the history
And from now on, keep it that way.
  • Loading branch information
larsbrinkhoff committed Jan 16, 2025
1 parent dfea3e8 commit c825a8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
*.o
src/ncpd
src/libncp.a
apps/ncp-ping
apps/ncp-echo
apps/ncp-discard
apps/ncp-finger
apps/ncp-finser
apps/ncp-ping
apps/ncp-telnet
apps/ncp-echo
apps/ncp-discard
test/*.log
18 changes: 9 additions & 9 deletions apps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ NCP=-L../src -lncp
LIBNCP=../src/libncp.a
PREFIX=ncp-

APPS=ping finger finser telnet echo discard
APPS=discard echo finger finser ping telnet
PROGS=$(foreach i,$(APPS),$(PREFIX)$(i))

all: $(PROGS)

$(PREFIX)ping: ping.o $(LIBNCP)
$(CC) -o $@ $< $(NCP)
$(PREFIX)echo: echo.o $(LIBNCP)
$(CC) -o $@ echo.o $(NCP)

$(PREFIX)discard: discard.o $(LIBNCP)
$(CC) -o $@ discard.o $(NCP)

$(PREFIX)finger: finger.o $(LIBNCP)
$(CC) -o $@ $< $(NCP)

$(PREFIX)finser: finser.o $(LIBNCP)
$(CC) -o $@ $< $(NCP)

$(PREFIX)ping: ping.o $(LIBNCP)
$(CC) -o $@ $< $(NCP)

$(PREFIX)telnet: telnet.o tty.o $(LIBNCP)
$(CC) -o $@ telnet.o tty.o $(NCP)

$(PREFIX)echo: echo.o $(LIBNCP)
$(CC) -o $@ echo.o $(NCP)

$(PREFIX)discard: discard.o $(LIBNCP)
$(CC) -o $@ discard.o $(NCP)

tty.o:: tty.h

.PHONY: clean
Expand Down

0 comments on commit c825a8c

Please sign in to comment.