support configure/make

This commit is contained in:
Tomoki Shirasawa
2013-02-18 12:07:32 +09:00
parent 68ee283fb0
commit 161b3faefe
6 changed files with 4841 additions and 0 deletions

19
executer/user/Makefile.in Normal file
View File

@ -0,0 +1,19 @@
CC=@CC@
BINDIR=@BINDIR@
CFLAGS=-Wall -O
TARGET=mcexec
all: $(TARGET)
mcexec: mcexec.c
$(CC) $(CFLAGS) -pthread -o $@ $^
clean:
$(RM) $(TARGET) *.o
.PHONY: all clean install
install:
mkdir -p -m 755 $(BINDIR)
install -m 755 mcexec $(BINDIR)