minix/commands/ibm/Makefile
2005-07-22 18:30:40 +00:00

173 lines
2.7 KiB
Makefile
Executable file

# Makefile for commands/ibm.
# See commands/simple/Makefile for a description.
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
ALL = \
dosread \
fdisk \
format \
loadfont \
loadkeys \
mixer \
autopart \
part \
partition \
playwave \
postmort \
readclock \
recwave \
repartition \
screendump \
sdump \
all: $(ALL)
dosread: dosread.c
$(CCLD) -o $@ $?
install -S 16kw $@
fdisk: fdisk.c
$(CCLD) -o $@ $?
install -S 4kw $@
format: format.c
$(CCLD) -o $@ $?
install -S 4kw $@
loadfont: loadfont.c
$(CCLD) -o $@ $?
install -S 4kw $@
loadkeys: loadkeys.c
$(CCLD) -o $@ $?
install -S 4kw $@
mixer: mixer.c
$(CCLD) -o $@ $? -lcurses
install -S 16kw $@
autopart: autopart.c
$(CCLD) -o $@ $?
install -S 11kw $@
part: part.c
$(CCLD) -o $@ $?
install -S 11kw $@
partition: partition.c
$(CCLD) -o $@ $?
install -S 4kw $@
playwave: playwave.c
$(CCLD) -o $@ $?
install -S 16kw $@
postmort: postmort.c
$(CCLD) -o $@ $?
install -S 4kw $@
readclock: readclock.c
$(CCLD) -o $@ $?
install -S 4kw $@
recwave: recwave.c
$(CCLD) -o $@ $?
install -S 16kw $@
repartition: repartition.c
$(CCLD) -o $@ $?
install -S 4kw $@
screendump: screendump.c
$(CCLD) -o $@ $?
install -S 4kw $@
sdump: sdump.c
$(CCLD) -o $@ $?
install -S 4kw $@
install: \
/usr/bin/dosread \
/usr/bin/dosdir \
/usr/bin/doswrite \
/usr/bin/fdisk \
/usr/bin/format \
/usr/bin/loadfont \
/usr/bin/loadkeys \
/usr/bin/mixer \
/usr/bin/autopart \
/usr/bin/part \
/usr/bin/partition \
/usr/bin/playwave \
/usr/bin/postmort \
/usr/bin/readclock \
/usr/bin/recwave \
/usr/bin/repartition \
/usr/bin/screendump \
/usr/bin/sdump \
/bin/loadkeys \
/bin/readclock \
/usr/bin/dosread: dosread
install -cs -o bin $? $@
/usr/bin/dosdir /usr/bin/doswrite: /usr/bin/dosread
install -l $? $@
/usr/bin/fdisk: fdisk
install -cs -o bin $? $@
/usr/bin/format: format
install -cs -o root -m 4755 $? $@
/usr/bin/loadfont: loadfont
install -cs -o bin $? $@
/usr/bin/loadkeys: loadkeys
install -cs -o bin $? $@
/usr/bin/mixer: mixer
install -cs -o bin $? $@
/usr/bin/autopart: autopart
install -lcs $? $@
/usr/bin/part: part
install -cs -o bin $? $@
/usr/bin/partition: partition
install -cs -o bin $? $@
/usr/bin/playwave: playwave
install -cs -o bin $? $@
/usr/bin/postmort: postmort
install -cs -o bin $? $@
/usr/bin/readclock: readclock
install -cs -o bin $? $@
/usr/bin/recwave: recwave
install -cs -o bin $? $@
/usr/bin/repartition: repartition
install -cs -o bin $? $@
/usr/bin/screendump: screendump
install -cs -o bin $? $@
/usr/bin/sdump: sdump
install -cs -o bin $? $@
/bin/loadkeys: /usr/bin/loadkeys
install -lcs $? $@
/bin/readclock: /usr/bin/readclock
install -lcs $? $@
clean:
rm -rf $(ALL) a.out core