diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-05-20 19:34:07 +0000 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-05-20 19:34:07 +0000 |
| commit | 917aa28cbd5cf3c1fd656d012c46e2e1a267a10b (patch) | |
| tree | 513834c621a43c998a0b3357f98d74a98beba0df | |
| parent | 56280b64a5931118d928f876ad13bf5ec96d9ea2 (diff) | |
| download | p9tree-917aa28cbd5cf3c1fd656d012c46e2e1a267a10b.tar.gz | |
Fixed env variables inside of mkfile
| -rw-r--r-- | mkfile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,6 +1,18 @@ </$objtype/mkfile -run: - $CC $CFLAGS tree.c - $LD $LDFLAGS -o tree tree.$O +RC=/rc/bin +BIN=/$objtype/bin +MAN=/sys/man + +tree: + $CC $CFLAGS tree.c + $LD $LDFLAGS -o tree tree.$O + +install:V: + mv tree $BIN/ + cp man/1/tree $MAN/1/ + +uninstall:V: + rm -f $BIN/tree + rm -f $MAN/1/tree |
