implement pgetppid
pgetppid will aid in detecting which terminal emulator a process is running under
This commit is contained in:
parent
edeec36ffa
commit
25f1180429
4 changed files with 105 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -27,7 +27,7 @@ all: tests
|
|||
.PHONY: tests
|
||||
tests: $(BIN) $(BIN)/ct_test
|
||||
|
||||
$(BIN)/ct_test: $(BUILD) $(addprefix $(BUILD)/, ct_test.o term.o termio.o)
|
||||
$(BIN)/ct_test: $(BUILD) $(addprefix $(BUILD)/, ct_test.o term.o termio.o pgetppid.o)
|
||||
$(LD) $(LDFLAGS) -o $@ $(filter %.o, $^)
|
||||
|
||||
$(BUILD)/%.o: $(SRC)/%.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue