Name project chatte
parent
e3a344854f
commit
e049d5a2d7
|
@ -1,5 +1,5 @@
|
||||||
*.o
|
*.o
|
||||||
chat
|
chatte
|
||||||
chroot.tar
|
chroot.tar
|
||||||
root
|
root
|
||||||
tags
|
tags
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -20,9 +20,9 @@ OBJS += term.o
|
||||||
OBJS += ui.o
|
OBJS += ui.o
|
||||||
OBJS += url.o
|
OBJS += url.o
|
||||||
|
|
||||||
all: tags chat
|
all: tags chatte
|
||||||
|
|
||||||
chat: $(OBJS)
|
chatte: $(OBJS)
|
||||||
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
|
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
|
||||||
|
|
||||||
$(OBJS): chat.h
|
$(OBJS): chat.h
|
||||||
|
@ -30,7 +30,7 @@ $(OBJS): chat.h
|
||||||
tags: *.h *.c
|
tags: *.h *.c
|
||||||
ctags -w *.h *.c
|
ctags -w *.h *.c
|
||||||
|
|
||||||
chroot.tar: chat
|
chroot.tar: chatte
|
||||||
mkdir -p root
|
mkdir -p root
|
||||||
install -d -o root -g wheel \
|
install -d -o root -g wheel \
|
||||||
root/bin \
|
root/bin \
|
||||||
|
@ -60,8 +60,8 @@ chroot.tar: chat
|
||||||
cp -a -f /usr/share/locale root/usr/share
|
cp -a -f /usr/share/locale root/usr/share
|
||||||
cp -p -f /usr/share/misc/termcap.db root/usr/share/misc
|
cp -p -f /usr/share/misc/termcap.db root/usr/share/misc
|
||||||
cp -p -f /bin/sh root/bin
|
cp -p -f /bin/sh root/bin
|
||||||
install -o root -g wheel -m 555 chat root/bin
|
install -o root -g wheel -m 555 chatte root/bin
|
||||||
tar -c -f chroot.tar -C root bin etc home lib libexec usr
|
tar -c -f chroot.tar -C root bin etc home lib libexec usr
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f tags chat $(OBJS) chroot.tar
|
rm -f tags chatte $(OBJS) chroot.tar
|
||||||
|
|
2
chat.h
2
chat.h
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SOURCE_URL "https://code.causal.agency/june/chat"
|
#define SOURCE_URL "https://code.causal.agency/june/chatte"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
Loading…
Reference in New Issue