Unix Makefiles

Move building uudecode for unpacking .Wav files from Makefile.dat to
Makefile.utl and add uudecode to util's 'make spotless'.
This commit is contained in:
PatR
2023-02-08 11:38:47 -08:00
parent 37b5eae64d
commit bfd3cee886
2 changed files with 15 additions and 6 deletions

View File

@@ -354,6 +354,11 @@ tileedit: tileedit.o $(TEXT_IO)
$(QTDIR)/bin/moc -o tileedit.moc tileedit.h
$(CXXLINK) -o tileedit -L$(QTDIR)/lib tileedit.o $(TEXT_IO) -lqt
uudecode: uudecode.o
$(CLINK) $(LFLAGS) -o uudecode uudecode.o $(LIBS)
uudecode.o: ../sys/share/uudecode.c
$(CC) $(CFLAGS) -c -o uudecode.o ../sys/share/uudecode.c
# using dependencies like
# ../src/foo::
# @( cd ../src ; $(MAKE) foo )
@@ -408,4 +413,4 @@ clean:
spotless: clean
-rm -f makedefs recover dlb
-rm -f gif2txt txt2ppm tile2x11 tile2img.ttp xpm2img.ttp \
tilemap tileedit tile2bmp
tilemap tileedit tile2bmp uudecode