vtwrap

Fake ptty allocator
git clone https://git.sinitax.com/sinitax/vtwrap
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (314B)


      1ifeq ($(DEBUG), 1)
      2CFLAGS = -Og -g
      3else
      4CFLAGS = -O2
      5endif
      6
      7.PHONY: all clean install uninstall
      8
      9all: vtwrap
     10
     11vtwrap: vtwrap.c
     12	$(CC) -o $@ $< $(CFLAGS) $(EXTRA_CFLAGS)
     13
     14clean:
     15	rm -f vtwrap
     16
     17install:
     18	install -m755 vtwrap -t "$(DESTDIR)$(PREFIX)$(BINDIR)"
     19
     20uninstall:
     21	rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/vtwrap"