24 lines
552 B
Makefile
24 lines
552 B
Makefile
|
# Some basic utilities for testing the tranzport's I/O
|
||
|
# eventually "tranzport" will become a flexible command
|
||
|
#
|
||
|
#
|
||
|
|
||
|
FILES:=tranzport tranzport_lights tranzport_tests.sh
|
||
|
BINDIR ?= $(DESTDIR)/usr/local/bin
|
||
|
|
||
|
all: tranzport tranzport_lights
|
||
|
|
||
|
tranzport: tranzport.c
|
||
|
gcc -g -Wall -o tranzport tranzport.c
|
||
|
|
||
|
tranzport_lights: tranzport_lights.c
|
||
|
gcc -g -Wall -o tranzport_lights tranzport_lights.c
|
||
|
|
||
|
clean::
|
||
|
rm -f core .*.cmd *.o *.ko *.mod.c Module.symvers *.bak .\#* *~
|
||
|
rm -rf .tmp_versions tranzport tranzport_lights
|
||
|
|
||
|
install::
|
||
|
cp $(FILES) $(BINDIR)
|
||
|
|