set FD_CLOEXEC
[gemrepl.git] / Makefile
blobab654943eb963122cdaec7a178c8eac908f612db
1 CC=cc
2 CFLAGS=-Wall
4 gemrepl: gemscgi.o main.o
5 $(CC) $(CFLAGS) -o $@ $^
7 %.o: %.c *.h
8 $(CC) $(CFLAGS) -c $<
10 gemscgi_example: gemscgi.o gemscgi_example.o
11 $(CC) $(CFLAGS) -o $@ $^
13 clean:
14 rm gemrepl gemscgi_example gemscgi.o gemscgi_example.o main.o