--single-session
[gemrepl.git] / Makefile
blob5bdd31e324b5e64ad967a50182bd3f2cd40a0e6e
1 CC=cc
2 CFLAGS=-Wall -g
4 gemrepl: gemscgi.o main.o
5 $(CC) $(CFLAGS) -lpthread -o $@ $^
7 %.o: %.c *.h
8 $(CC) $(CFLAGS) -c $<
10 gemscgi_example: gemscgi.o gemscgi_example.o
11 $(CC) $(CFLAGS) -o $@ $^
13 gemscgi_wrap: gemscgi.o gemscgi_wrap.o
14 $(CC) $(CFLAGS) -o $@ $^
16 clean:
17 rm gemrepl gemscgi_example gemscgi.o gemscgi_example.o main.o