| 12345678910111213141516171819202122232425262728293031 |
- tripl-objs = main.o tripl.o error.o klist.o
- tripl-out = tripl
- CFLAGS = -Wall -Werror -Iinclude -g -ldl
- ifeq ($(install-dir),)
- install-dir = /usr/bin
- endif
- all : $(tripl-objs)
- @scripts/mkconfig.py
- @$(MAKE) -C arch/
- @$(CC) $(tripl-objs) -o $(tripl-out) -Larch -larch -ldl
- @echo "tripl is ready. "
- install : $(tripl-out)
- @install $(tripl-out) $(install-dir)
- %.o : %.c
- @$(CC) -c $*.c $(CFLAGS)
- @echo -e "\tCC\t\t\t$*.c"
- .PHONY clean:
- @$(RM) -f $(tripl-objs) $(tripl-out)
- @$(MAKE) -C arch/ clean
- startbeta:
- touch "betatest-`date +\"%Y:%m:%d\"`"
|