Files
mckernel/test/issues/995/Makefile
Ken Sato b920da5103 execve: Use interp in shebang as is
Fujitsu: POSTK_DEBUG_TEMP_FIX_9
Refs: #995
Change-Id: I09751d13c4fecd68087d47815029c0b65e51f18a
2018-07-26 01:46:22 +00:00

24 lines
403 B
Makefile

CC = gcc
TARGET=put_args call_execve
all: $(TARGET)
put_args: put_args.c
$(CC) -o $@ $^
call_execve: call_execve.c
$(CC) -o $@ $^
test: all
@ln -nfs ./put_args ./syml_put_args
@echo "#!./syml_put_args" > test_01.sh
@echo "#!`pwd`/syml_put_args" > test_02.sh
@chmod +x ./test_01.sh
@chmod +x ./test_02.sh
@sh ./C995.sh
clean:
rm -f $(TARGET) *.o ./syml_put_args ./test_01.sh ./test_02.sh