aboutsummaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbase/new-c-proj4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/new-c-proj b/base/new-c-proj
index e1c6d6a..be109ae 100755
--- a/base/new-c-proj
+++ b/base/new-c-proj
@@ -73,7 +73,7 @@ if printf '%s\n' "$1" | grep '^lib' >/dev/null 2>/dev/null; then
x $1.h
all: $1.a
- \$(OBJ): \$(@:.o=.c) \$(HDR)
+ \$(OBJ): \$(HDR)
.c.o:
x \$(CC) -c -o \$@ \$< \$(CFLAGS) \$(CPPFLAGS)
@@ -120,7 +120,7 @@ else
HDR =
all: $1
- \$(OBJ): \$(@:.o=.c) \$(HDR)
+ \$(OBJ): \$(HDR)
.c.o:
x \$(CC) -c -o \$@ \$< \$(CFLAGS) \$(CPPFLAGS)