Makefile 269 B

123456789101112131415161718
  1. #
  2. # Makefile for chan_misdn support
  3. #
  4. ifneq ($(wildcard /usr/include/linux/mISDNdsp.h),)
  5. CFLAGS+=-DMISDN_1_2
  6. endif
  7. all:
  8. %.o: %.c
  9. $(CC) $(CFLAGS) -c -o $@ $<
  10. portinfo: portinfo.o
  11. $(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread
  12. clean:
  13. rm -rf *.a *.o *.so portinfo *.i