Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8bd4467

Browse files
committed
entab: Improve makefile
A few simplifications and stylistic improvements, found while greppingaround for makefile problems elsewhere.
1 parent225d9c0 commit8bd4467

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

‎src/tools/entab/Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,11 @@
55
TARGET = entab
66
BINDIR = /usr/local/bin
77
XFLAGS =
8-
CFLAGS = -O
8+
CFLAGS = -O$(XFLAGS)
99
LIBS =
1010

11-
$(TARGET) : entab.o halt.o
12-
$(CC) -o$(TARGET)$(XFLAGS)$(CFLAGS) entab.o halt.o$(LIBS)
13-
14-
entab.o: entab.c
15-
$(CC) -c$(XFLAGS)$(CFLAGS) entab.c
16-
17-
halt.o: halt.c
18-
$(CC) -c$(XFLAGS)$(CFLAGS) halt.c
11+
$(TARGET): entab.o halt.o
12+
$(CC) -o$@$(CFLAGS)$^$(LIBS)
1913

2014
clean:
2115
rm -f*.o$(TARGET) log core

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp