| 12345678910111213141516171819202122 |
- tripl-objs = main.o tripl.o error.o klist.o
- tripl-out = tripl
- CFLAGS = -Wall -Werror -Iinclude -g -ldl
- all: $(tripl-objs)
- @$(MAKE) -C arch/
- @$(CC) $(tripl-objs) -o $(tripl-out) -Larch -larch -ldl
- @echo "tripl is ready. "
- %.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
|